When uploading several files, rsync alphabetizes the file list, before sending. This is very suboptimal. It means that file access is slower(esp. in large dirs). It is also buggy. If I pass 10 files on the cmdline to upload, I want them sent in the same order as the cmdline. Because of this reording, when I use rsync to upload packages, the _changes is uploaded *before* some debs, and this causes false rejects to happen. Please, don't alphabetize the file list. It's a waste of time, and causes odd issues.
[ Note: I'm not the maintainer ] set of files. To quickly find which files do and do not exist on the other side, it's easiest to sort both lists first... Explain? It's not buggy, it's just not what you want. Rsync is suboptimal for copying files of which you know the destination doesn't exist, up to 3 times slower than ssh depending on the data. So don't use it for this purpose. I think this is a typical case of "wontfix", unfortunately. Paul Slootman
Hello Admin, the issue is well described. But it is also well described why rsync has to act like this. There is no way to modify that behavior without breaking the core behavior and features of rsync. Therefor, closing it. If you see it different I would suggest to open a ticket at the upstream project, where folks of more insights in the internals of rsync. Regards, Christian Buhtz