Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using computers with Windows xp operating system.

What had been done:

  • created a shared folder C:\123 on host 192.168.0.2 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@/192.168.0.2/123/  ../tmp
sending incremental file list
rsync: change_dir "//User:123@/192.168.0.2/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
add comment

1 Answer

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.