Re: question about the recursive algorithm
Kevin Korb via rsync <[email protected]> Thu, 16 Jan 2025 09:55:32 -0500 (EST)
| Newsgroups | gmane.network.rsync.general |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 There is no guarantee that rsync will do anything in any order since it is going by the filesystem without any sorting. With --delete-during the directory indexing and therefore the deletions are running in parallel with file transfers. This means it is quite common for it to delete things in directories it isn't transferring files in. On Thu, 16 Jan 2025, BP25 wrote: > Date: Thu, 16 Jan 2025 14:47:27 +0000 > From: BP25 <[email protected]> > To: Kevin Korb <[email protected]> > Cc: [email protected] > Subject: Re: question about the recursive algorithm > > Thanks Kevin, > > but I don't understand your message, or at least how it answers my "real > question" (last paragraph)... and by the way --delete defaults to > --delete-during for current versions of rsync as far as I know... >> rsync doesn't really give much control over the order it does things >> in. If you want to control when the deletions happen there is only - >> --delete-before or --delete-during but both are slower than the >> default - --delete. > -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSHERqysePm7S8yuR9UoLWOVtABBwUCZ4kd5AAKCRBUoLWOVtAB B8lIAJ4m+yB7YWl/DVwvlWo4lRjDPqBe8wCeJlSMsd+5smY1qpKbQqr0/nqg2u0= =5Wst -----END PGP SIGNATURE----- -- 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