Re: can sftp be made multi-threaded?
- In reply to: void : "Re: can sftp be made multi-threaded?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Aug 2023 06:19:19 UTC
Just evangelizing xargs -P again. Hope it helps. On Fri, Aug 11, 2023 at 9:07 PM void <void@f-m.fm> wrote: > On Fri, Aug 11, 2023 at 12:51:25PM -0400, Joe Schaefer wrote: > >% split -n $(nproc) foo.pdf; ls x* | xargs -P 0 -J % scp % > > user@bar.example.com:%; rm x*; ssh user@bar.example.com sh -c “cat x* > > >foo.pdf; rm x*” > > Thanks for that, I'll try it. > > -- > >