Sick of downloading filename.tar.gz and having to deal with it?
In my .cshrc file I put (with no line breaks):
alias guntar 'gunzip -c \!* | tar -xvf -;/usr/bin/rm \!*'
Then at the csh prompt I can just do:
$ guntar filename.tar.gz
Thanks Harvey!
N.B: the last bit, ;/usr/bin/rm \!*, deletes the original *.tar.gz file.
Posted by Charles on May 25, 2007 03:57 PM