Tuesday, January 30, 2007

linux tip on tar

If you untar a package, and it makes a mess of your directory because the packager didn't include the files in his tarball in a directory, you can use

% rm `tar ftz package.tar.gz`

to quickly get rid of those cluttering files.

% rm `tar ft package.tar`

does the same thing.


Read more about "linux tip on tar"!