delete option?

Tino Schöllhorn t.schoellhorn at
Sat Jan 13 14:19:41 GMT 2007


thanks. Now it works. Of course you are right: Synching worked without 
-r als long as I specified the files explicitly.

It would really help if the documentation would be updated and point out 
that --delete works only with the -r option. As I can see there are a 
lot of people out there who have problems with that option.

Again thanks.


Matt McCutchen wrote:
> 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.
> Matt

More information about the rsync mailing list