Does rsync delete unmatched files by default?

Andrew Cowie andrew-2KHxOkysSnqmy7d5DmSz6TlRY1/6cnIP at public.gmane.org
Tue Dec 21 02:37:25 UTC 2010


On Mon, 2010-12-20 at 18:48 -0500, Walter Dnes wrote:
>   My question is about future backups.  If I delete a file from the
> source, will it be deleted from the destination during my next sync?

--delete

And since you're using --exclude (of course), see also
--delete-excluded. Be *very* careful with that one [ie you think you've
archived something large, remove it locally, and have that in your
script, bye bye].

AfC
Sydney

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://gtalug.org/pipermail/legacy/attachments/20101221/3d815e94/attachment.sig>


More information about the Legacy mailing list