Srini's Point of View

My thoughts on technology, food and other fancies…

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 ...