Web lists-archives.com

Re: Question to rsync




Hans [2018-06-22 11:04:43+02] wrote:

> In earlier versions, there was rsync -av -d, where "-d" was the tag,
> which did, what I wanted: I want to delete any files in the target,.
> when they are not existing in the source.
>
> I am sure, this option stilll exists in the actual rsync version, but
> I can not find it (although, there is a "--delete", but looks to do
> something else)

In the rsync(1) man page there are long descriptions of --delete and
different --delete-* options. I'm sure you will find the one that suits
your needs (probably --delete).

-- 
/// Teemu Likonen   - .-..   <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

Attachment: signature.asc
Description: PGP signature