LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   tar question (https://www.linuxquestions.org/questions/linux-general-1/tar-question-442470/)

unixshell101 05-07-2006 09:26 AM

tar question
 
I get this eorror when i try to untar a file not sure why i nver had this prob in in red hat 9.I am useing FC5.


[syntax@localhost ~]$ tar -xzf 5204-matrix_boot-0.1.tgz
tar: 5204-matrix_boot-0.1.tgz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

raskin 05-07-2006 09:44 AM

Does the file really exist - what about less'ing file? Does it work? Does gunzip <5204-matrix_boot-0.1.tgz >5204-matrix_boot-0.1.tar work? and does tar -xf works afterwise?

pixellany 05-07-2006 10:32 AM

Make sure you are in the same directory as the file and that you get the name exactly right (or use a wildcard)

unixshell101 05-07-2006 01:32 PM

Does i have to untar in my ~/Desktop?

aress 05-11-2006 11:21 AM

Hi,

Where u want to untar doesn't matter. You need to make sure that file 5204-matrix_boot-0.1.tgz exists in the current working directory while giving the command.

On successfull executing directory will be created and it will contain all the untarred files.


All times are GMT -5. The time now is 03:03 AM.