top | item 46857002

(no title)

cachius | 27 days ago

rclone --multi-thread-streams allows transfers in parallel, like robocopy /MT

You can also run multiple instances of rsync, the problem seems how to efficiently divide the set of files.

discuss

order

adolph|27 days ago

My go-to for fast and easy parallelization is xargs -P.

  find a-bunch-of-files | xargs -P 10 do-something-with-a-file

       -P max-procs
       --max-procs=max-procs
              Run up to max-procs processes at a time; the default is 1.
              If max-procs is 0, xargs will run as many processes as
              possible at a time.

akdev1l|27 days ago

note that one should use -print0 and -0 for safety

pama|27 days ago

Sometimes find (with desired maxdepth) piped to gnu-parallel rsync is fine.

SoftTalker|27 days ago

robocopy! Wow, blast from the past. Used to use it all the time when I worked in a Windows shop.

bob1029|27 days ago

I am using robocopy right now on a project. The /MIR option is extremely useful for incrementally maintaining copies of large local directories.