Re: prevent filter excluded files from being deleted
Heiko Schlittermann via rsync <[email protected]>
| Newsgroups | gmane.network.rsync.general |
|---|---|
| Organization | schlittermann -- internet & unix support |
| Message-ID | <[email protected]> |
Robin Lee Powell via rsync <[email protected]> (Di 07 Mär 2023 07:07:01 CET): > Read the "PER-DIRECTORY RULES AND DELETE" of the man page. (And > don't feel bad, it took me a while to figure it out myself). I did, but left with some uncertainty. "H" hides the files from the transfer? What does it mean? "P" protects files from being deleted? I even tried '+r *', no luck. > Short version: per-directory rules only apply on the side they're > *specified on*, but you need the exclusion to apply to *both* sides. Hm. Maybe more reasoning behind. I'm syncing a quite large tree, but some directories contain huuge VM images, which I need to transfer using another mechanism. Because rsync doesn't seem to handle filesizes of about 100…500GiB well. These directories should contain a `.rsync-filter` to prevent them from the sync, but rsync should not remove these same-named files on the remote side. -- Heiko -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEE0L/WueylaUpvFJ3Or0zGdqa2wUIFAmQHKwYACgkQr0zGdqa2 wUKoswf/ZCQ6iU1qAAb9jnBQCtpzJ/fyIcVXqDVO3HevZtxIvAWzOSbOUrI3pHjY RKGFymNQo3BMKuhncCE6oYhmIDzDm4xm/UgkJm8aqu4eG7pj519sId6NgKxxuszw VfdN77KWUBZtCom4gtxxBFqiCGIODNEcKzUyOYe5TldBdP4hNYdafYwXdJ5x644N 2NI5PSMYGFJ9C3pQiKoESKqtFEtPylT2yidC602SNK20//Tg29WaMVD8DUlcoTht E9uEO+ujqrNY08DTIxjVJhhs5DNX6cFC7HZNBC8l1mxc4ghv/6At4fvEqoTfSgi4 wfpihWbmA/+eOpVkmdBHtUrr0jpgkw== =lZHH -----END PGP SIGNATURE-----