by unilynx · 6y ago · 0 comments
Fastest way to transfer a collection of files on a local network and doesn't require temporary storage for the archive
(...And my axe!)
I usually use ssh (e.g. ssh -L 3333:localhost:3333) and avoid gpg, though I may use lzop depending on link and CPU speed.
tar cf - files morefiles | ssh user@dest "tar xf -"
If you want to insert, say, compression: tar cf - files morefiles | zstd | ssh user@dest "zstd -d | tar xf -"