Feature Request: take list of src/dst from file or stdin
Greetings, just found your project and looks like an interesting alternative to HPN-SSH. Got multiple GB/s without much effort. Would request that you provide some capability to specify more than one src/dst combo via either file or stdin. See, for example, rsync --files-from or my own tool (https://pkolano.github.io/projects/shift.html), which allows you to specify multiple src/dst lines over stdin like:
src1a src2a ... srcNa dst_a
src1b src2b ... srcMb dst_b
...
This would allow other tools (like mine :) ) to efficiently use escp as a high speed transport. Otherwise, when you traverse the file system from another tool, you are left invoking escp for every file, hence paying the price for ssh (and the extra setup in your case) for every file. The way I do it, I just treat every line of stdin like the normal command line src/dst argument list and then can just treat both cases essentially the same by just pushing them onto a list of operations that must be performed.
Anyway, would be a nice feature to have. Thanks!