Another chapter in my Linux snuppets series #4: Stop filling up your disk with temporary zip files.
-
Another chapter in my Linux snuppets series #4: Stop filling up your disk with temporary zip files. Here is how to stream a directory directly from one server to another using tar and SSH in a single pipeline.
https://schulz.dk/2026/04/23/linux-snippets-4-the-zero-storage-network-clone/ -
Another chapter in my Linux snuppets series #4: Stop filling up your disk with temporary zip files. Here is how to stream a directory directly from one server to another using tar and SSH in a single pipeline.
https://schulz.dk/2026/04/23/linux-snippets-4-the-zero-storage-network-clone/@kimschulz @blog I believe you can use the -C option of tar to avoid the cd ... &&
-
@kimschulz @blog I believe you can use the -C option of tar to avoid the cd ... &&
@kimschulz also I believe you can skip -f - as that's the default
-
@kimschulz also I believe you can skip -f - as that's the default
@reynir thanks. I guess some of this is just from how I have always done it. I did not know of a -C argument for tar. It does not seem to be in the man pages here. lowercase -c is there though