Submitted by Nick Vahalik on Mon, 10/27/2008 - 09:43
Just wanted to write this little shell code snippet down because I've been using it quite a bit. It downloads, ungzips, and untars a file without saving it using "wget":http://linux.die.net/man/1/wget:
wget -O - http://example.com/file.tgz | tar xvz
Or, if you're Mac Like Me, you'd use "curl":http://curl.haxx.se/docs/manpage.html:
curl http://example.com/file.tgz | tar xvz
Beats having all those .tar.gz files laying around like dirty kleenex.