rsync 2.6.3 v. 28 win32 & linux
I have recently installed rsync on my XP box and Redhat box. Connectivity works and files transfer down to the Linux box. My problem is when I delete a file in the sync folder on my XP box, it does not delete it on ny Linux box.
Here is my command from the XP box. rsync --delete --verbose --progress --stats --times -e "ssh.exe -i cwrsync" -az /cygdrive/c/ghost/* domainname.com:backup Here is my rsyncd.conf file on the Linux box. motd file = /etc/rsyncd.motd log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock hosts allow = x.x.x.x #strict modes = true [home] path = /backup comment = /home/jgolden backup folder read only = false transfer logging = true log file = /home/jgolden/backup/backup.log Any help would be greatly appreciated. Thank you, Joel Golden |
Try running the same command but add "-vv" as well, this will give you more verbose debugging messages that may show a problem.
|
Fix
rsync --delete --verbose --progress --stats --times -e "ssh.exe -i cwrsync" -az /cygdrive/c/ghost/* domainname.com:backup
The problem here is the wildcard in /cygdrive/c/ghost/* Remove the * and rock-n-roll. Joel |
All times are GMT -5. The time now is 06:58 AM. |