Delete only run

Fabian Cenedese Cenedese at indel.ch
Fri Jan 9 08:34:43 GMT 2009


>> Is there a way to take advantage of incremental, even if it means
>> running rsync twice?
>
>You can use --ignore-existing --ignore-non-existing --del to perform an
>incremental deletion run:
>
>--existing, --ignore-non-existing
>  This tells rsync to skip creating files (including directories) that
>  do not exist yet on the destination.  If this  option  is  combined
>  with the --ignore-existing option, no files will be updated (which
>  can be useful if all you want to do is to delete extraneous files).

I'll give that a try. I have already read the manual when I was setting
up my backup, but it seems I should read it again more closely :)

Thanks

bye  Fabi



More information about the rsync mailing list