Post #2281685
2026-04-24 03:15 UTC
@statsguy@mas.to Everybody is giving good guidance. But I don’t understand the question. Meaning: rsync does it and has tons of documentation and examples. Was there something that gave you pause and prompted you to consider alternatives?
The difference in performance between Python or a binary are probably not going to be material. If the Python is written well, your waiting time will be spent waiting on I/O. It’s not a cpu-intensive activity.
Replies (1)
-
@statsguy@mas.to 2026-04-24 07:52
@paco@infosec.exchange I have indeed had good guidance and I will be invoking original rsync from the shell within my Python script. The question arose because I will be using a Python script, and sometimes if you can do something directly in Python then it seems neater to me to do it that way rather than invoking a shell command. That would be particularly true if the Python command were more efficient than the shell command, though that looks like it won't be true here.