How to build a 650MB archive on a PC with 30MB disk free using SSH


This clever idea came from Steve Wright on the K12LSTP mailing list

I just built a 650MB archive on a PC with 30MB disk free.. how ?

pack the archive with `tar` on one machine, send it to another via ssh where it was compressed with bzip2 and then written to a file.

tar -cO * | ssh "cat | bzip2 > compressed-file.tar.bz2"

01/19/2004