--delete not working when files are pushed to rsync daemon

Wayne Davison wayned at samba.org
Thu Aug 21 04:17:54 EST 2003


On Wed, Aug 20, 2003 at 07:03:34AM -0500, john at gngsta.com wrote:
> build# rsync -a -vvv -n --delete --exclude-from rsync.excludes /platform/ individual.server::platform

I assume that the files that are not being deleted are excluded by the
--exclude-from rules -- all files (on both sides) that match these
patterns are excluded both from transfer and from deletion.  You may
wish to try --delete-excluded, but that might delete too much.

If the vanished file is not excluded, you'll need to be more explicit in
exactly what deletion is not happening.  Keep in mind that in the case
of the command above, the deletions that should be happening are in the
individual.server::platform module based on vanished files/directories
on the system that is running the rsync command.

Also, you don't mention what version of rsync you're using.  If it's
older than 2.5.6, please upgrade.

..wayne..



More information about the rsync mailing list