Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using computers with Windows xp operating system.

What had been done:

  • created a shared folder C:\123 on host and made it shared
  • created user with name User and password 123
  • granted full access to user User on folder C:\123

Now I'm trying to sync using rsync with username User and password 123:

rsync.exe -rav --delete --rsh=smb //User:123@/  ../tmp
sending incremental file list
rsync: change_dir "//User:123@/" failed: No such file or directo
ry (2)

sent 18 bytes  received 12 bytes  6.67 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]

What should I try next? How can I rsync password protected shared folder over windows smb?

share|improve this question

rsync doesn't work over file sharing protocols; it must open a shell on the remote system so that it can run rsync there and communicate with it. If you need to use a file sharing protocol instead then you must mount the share locally and have rsync treat it as a local transfer instead.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .