Thanks for your message again. I appreciate your answers. I don't mind about the order of the files, and neither really about the order of the directories: I'm interested about whether rsync might transfer some files into a directory, then transfer some files into another which is outside of the first one, and then transfer more files into the first directory again.
And with the --del option, which afaik means --delete-during, whether it might delete some files from a directory, then delete some files from another which lies outside of the first dir, and then delete some more files from the first directory again. This behaviour would be at odds in my mind with the word recursion, which in my mind implies walking through the directory tree with some criteria, rather than jumping around the directory tree. And in your message you use the word "directory indexing", which in my mind also suggests "focusing exclusively on such directory", at least as far as only the lines starting by *delete are concerned, or only the lines starting by > are concerned... On Thu, Jan 16 2025, Kevin Korb wrote: > 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. -- 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