4 ms·
I am confused -- why is this better than "rsync"? Or ssh-based file transfer (sftp/scp)? Also, regarding readme's first paragraph: > You don't have to run a s
by theamk 5y ago
I am confused -- why is this better than "rsync"? Or ssh-based file transfer (sftp/scp)?
Also, regarding readme's first paragraph:
> You don't have to run a separate command with file redirection for each file you wish to transfer.
did you know about "tar | nc" trick? It uses "tar" so it can do as many files as you want, and it can do renaming etc...
device# nc -l 9999 | tar cvf -
host# tar cf - file1 file2 dir3/ | nc 10.20.30.40 9999
- geno_nullfree 5y agoOn some of the embedded systems I have used this on they don't have scp/rsync/etc and I have found it easier to cross compile this as a standalone application rather than the others. And no I hadn't thought of that "tar | nc" trick, that's pretty neat. Thanks for sharing it!