Using rsync-2.6.3 under Slackware Linux 10.1. Usually when I issue rsync -uacHv $SOURCE $TARGET >>/var/log/mirror.log files that are updated are listed in mirror.log. Today for the first time I used --delete --force in the line rsync -uacHv --delete --force $SOURCE $TARGET >>/var/log/mirror.log it looks like _every_ file has a line in the log that says "deleting filename". But it appears that files that exist on the SOURCE are still on the TARGET. Why are the TARGET files being listed as deleted in my log file? Is this correct behavior? Are the files _actually_ being deleted and then copied? Larry -- Larry Alkoff N2LA - Austin TX Using Thunderbird on Slackware Linux
On Sat, May 28, 2005 at 08:57:49PM -0500, Larry Alkoff wrote:> Today for the first time I used --delete --force in the line > rsync -uacHv --delete --force $SOURCE $TARGET >>/var/log/mirror.log > it looks like _every_ file has a line in the log that says > "deleting filename". > > But it appears that files that exist on the SOURCE are still on the TARGET.I would assume that you had a duplicate set of files on the target. This is possible if you accidentally used "source dest" one time and "source/ dest" another time. As long as the delete messages don't recur, rsync has simply gotten rid of the duplicated files. ..wayne..