Re: undo extraction
> On 20010107.0504, Ethan Benson said ...
> On Sun, Jan 07, 2001 at 02:44:38PM +0100, M.B.Midden wrote:
> > Hi
> > if extracted GCC_18.104.22.168.tar.gz because i wanted to compile ProFTPd , and
> > i want to undo it because i have no space left now in my root partition. How
> > can i undo the extraction or remove the files?
> rm -rf GCC_22.214.171.124
> or whatever directory name was created, all sanly created tarballs
> extract one directory with all the files under that.
I wrote a little perl script  that gets the names of the files from
a tarball, then removes all the files and directories found inside the
It comes in real handy when a tar archive dumps into the currently
directory and makes a big mess. Of course you can untar in a temp dir
or use the 't' option to look inside first, but sometimes I put too
much trush in where the tarballs are going to dump and get screwed.