prevent filter excluded files from being deleted

Heiko Schlittermann hs at schlittermann.de
Tue Mar 7 22:38:55 UTC 2023


Robin Lee Powell via rsync <rsync at lists.samba.org> (Di 07 Mär 2023 16:20:39 CET):
> First of all, I disagree that rsync handles very large files badly,
> but that's not super relevant. :)  Consdier --partial for large
> files.

I'm using --inplace (because the receiving side does snapshots of the
underlying file system), which implies --partial.

But that's another place I need to work on, as written in one of my
previous posts. There I need to investigate a bit more.

> (1) my .rsync-filter file has "+ .rsync-filter" in it
> (2) --delete-after means that the .rsync-filter is present on *both
> sides* when the delete runs

Boah… got it and read again "PER-DIRECTORY RULES and DELETE".
Now it is clear and works as expected.

Thanks a lot for clarification and pointing.

-- 
Heiko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/rsync/attachments/20230307/9673f79a/signature.sig>


More information about the rsync mailing list