delete option?

Matt McCutchen hashproduct+rsync at
Sat Jan 13 13:17:33 GMT 2007

On 1/13/07, Tino Schöllhorn <t.schoellhorn at> wrote:
> rsync -v --delete --times /var/subversion/
> The backup works fine - but file which are deleted from the source
> *aren't* deleted from the destination as I expected.

You need the -r option (--recursive) to make rsync go inside the
source and destination directories in the first place so that it can
delete files from the destination.

You say the backup works fine: did rsync copy files from the source
directory to the destination directory, even without -r?  If so, that
would be a big bug.


More information about the rsync mailing list