[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Newbie: where did my tar.gz file decompress to?



On Thu, May 24, 2001 at 07:49:04AM -0700, Abner Gershon wrote:
> In the continuing saga of this unix/linux novice
> trying to install NVIDIA drivers from floppy I learned
> how with the help of the responses from this list to
> mount my floppy and decompress my tar files using "tar
> -xzvf NVIDIA.tar.gz". I could see written to the
> screen all the various files being unzipped. Now I
> can't find which directory these files are in. 

The files should be in the directory you were in at the time you unzipped
them.

> are not in the parent directory /usr/local that I
> copied the files to from the floppy drive before
> unzipping. Is there a find application I could use?

yes use the command find. If you can remember one of the files that were
being unzipped (you indicated that you saw the filenames as they were
written to screen) you could try the following command:

$find /usr/local/ -name <filename>

or goto the folder (I think it was /usr/local/) in which the NVIDIA.tar.gz
file is and run the following command to see what is inside the
NVIDIA.tar.gz file (as opposed to extracting the contents)

$cd /usr/local
$tar tzf NVIDIA.tar.gz | less

the resultant output should be in the form
<dir>/<file>

if I run the tar command above on a sample file of mine called work.tar.gz I
get the following:

	$tar tzf work.tar.gz
	ivan/	
	ivan/projivan.bak
	ivan/projivan.c
	ivan/projivan.exe
	ivan/projivan.obj
	stock/
	stock/main.obj
	stock/me.c
	stock/main.exe
	stock/main.c
	stock/items.dat
	stock/main.bak
	txt/
	txt/AEIOCITFOT.txt
	txt/se.txt

When the work.tar.gz file is extracted using tar xzf, there will be 3 new
directories created in the current directory ie ivan, stock, and txt.

Look for similar output and you'll find the files in the NVIDIA.tar.gz files
in some newly created directory.

Martin.
-- 
$file /usr/bin/file
/usr/bin/file: unknown file type (edit /etc/magic, or read magic(5))



Reply to: