On Fri, Jul 11, 2025 at 5:20 PM Robert Moskowitz via users <users@lists.fedoraproject.org> wrote:
> I have downloaded, over the Internet from IETF, using their rsync > service for lots of years. I had a small hand in setting this up. > > But here I am working with a few servers on my local net, going to my > local NAS. All Linux. [...] > So I wonder, can I do this smarter with rsync, and it appears it is not > worth the candle. rsync handles that very large Internet Draft download > every night. > > But a chance to maybe learn a bit more. In general whether you use rsync or something else, it has to check for and find files that have been modified. If that something has access to modification times and sizes it can use those to determine if a file has changed, otherwise it will have to download the file and compare to your local copy to see if it has changed. So for the general case, I don't think you are going to get much better than letting rsync just do its thing. After all, this is exactly what it is intended to do! There may be specific situations where you might be able to get a small improvement - say for example you don't have to worry about modifications, just addition and deletions. In this case it *might* be worth counting the number of files (or similar) and only doing the rsync if the counts differ (flaw - equal number of deletions and additions). I still think you should just let rsync do its thing. I doubt any improvement would be worth the complication. -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue