delete option?
Tino Schöllhorn
t.schoellhorn at plattform-gmbh.de
Sat Jan 13 14:19:41 GMT 2007
Hi,
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.
Tino
Matt McCutchen wrote:
> 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