rsync (cygwin on XP) - -delete flag not working.
I installed cygwin with rsync on a Win XP Machine. My goal is to backup a folder from one hard drive to another (both on XP machine).
I run the following command from a batch file:
C:\cygwin\bin\rsync.exe -avvz --delete --stats --progress "/cygdrive/e/my_music/" "/cygdrive/g/my_music" > music.log
Works fine except the --delete flag is not working. Copies everything in source to destination, but doesn't delete some extra files that are present on the destination, but aren't on the source, which it's supposed to. I looked at the rsync man page, and I'm doing everything right... such as not using wildcard.
If anyone knows what is going on, please let me know. All your help is appreciated in advance. Thanks.
NOTE: the same command works perfect on another computer (XP machine; source and dest both on XP machine).
Is it throwing any errors? You may want to add -i to that to itemize output (I'm not sure if -vv implies it or not). Also, to avoid breaking anything, add -n until you're sure everything is working correctly.
One thing I could think of is to check your ACLs on the destination machine/drive
|All times are GMT -5. The time now is 07:28 PM.|