delete option?

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


On 1/13/07, Tino Schöllhorn <t.schoellhorn at plattform-gmbh.de> wrote:
> rsync -v --delete --times /var/subversion/ myhost.de:backup/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.

Matt


More information about the rsync mailing list