Click to See Complete Forum and Search --> : here's a simple one


wojohowski
02-13-2001, 03:25 AM
how do I deal with *.tar.gz files. is there a way to be specific as to where it is extracted to? for example I downloaded gnapster-1.4.2.tar.gz and I want to be able to extract to a reasonable directory as opposed to /downloads/gnapster-1.4.2/*

Thanks,

Woj

Gaccm
02-13-2001, 04:26 AM
you got two options the easiest is to tar -xzvf filename
this will unzip the file (thats what the .gz means) and it will untar it (tar is a very easy way to pack files up) this command will make a new folder and place all the files there in the correct layout.

harder way. gunzip filename | tar -xvf filename (does same thing)

Gaccm
02-13-2001, 04:28 AM
sorry for wns reply, but most people like the /downloads/gnapster-1.4.2/* layout cause they can see what the prog is and version immidatly, i bet its -f that does the new folder, read the man page to figure out.

P.S. WOOHOO I GOT A STAR, I'M SPECIAL