Re:Ask HN: What is your favorite method of sending large files?
by kortex on Wednesday September 02, 2020 @10:26PM
(#24360304)
What's an example of the syntax of this? I remember seeing a graybeard do something like this to huck some files to another machine.
[ Parent
| on HN ]
Re:Ask HN: What is your favorite method of sending large files?
by waterhouse on Thursday September 03, 2020 @09:41AM
(#24363929)
Paraphrased from a real example:
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 -"