LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems with tar (https://www.linuxquestions.org/questions/linux-software-2/problems-with-tar-70364/)

InsaneBob 07-05-2003 06:27 PM

problems with tar
 
I am trying to untar a whole list of gkrellm themes at the same time. So in the directory the themes are located in I went "tar -xvvzf *". All that happened was a whole lot of errors messages that print out the themes name then "Not found in archive". All the files where tar.gz format.

DrOzz 07-05-2003 06:30 PM

maybe the file is corrupted?

InsaneBob 07-05-2003 06:39 PM

I dont think so because if I untar them one at a time it works but there is like 118 of them and I dont want to do that.:D

InsaneBob 07-06-2003 12:05 AM

I might have been a little unclear before about what I was doing. I am not trying to untar one file. What I did was untar the GKrellM-Skins.tar.gz from www.muhri.net . Now I have 119 skins in tar.gz format. So I want to untar all of them with one command as stated above. What was wrong with my early command?

green_dragon37 07-06-2003 12:16 AM

Code:

for i in *.tar.gz; do tar -xvzf $i; done
will process each one in a row.

Ian


All times are GMT -5. The time now is 07:16 PM.