View previous topic :: View next topic |
Author |
Message |
kkj n00b
Joined: 17 Jul 2002 Posts: 52 Location: Denmark, aarhus
|
Posted: Mon Oct 21, 2002 3:17 pm Post subject: exstract mulitiple tar files ? |
|
|
I have a dir whit 50+ tar files, and I would like to extract them.....
I was hoping i could do it like this...
Code: |
cd /"where I would like the un tar files to be"
tar xvzf /source Off All the Tar Files/*
|
but it dosnt work ?
The error I get is
Code: |
tar: GKrellM-skins/4D_Ladies.tar.gz: Not found in archive
tar: GKrellM-skins/Absolute_E.tar.gz: Not found in archive
tar: GKrellM-skins/AbToenAlloy-green.tar.gz: Not found in archive
tar: GKrellM-skins/aCOW.tar.gz: Not found in archive
tar: GKrellM-skins/Acqua-Graphite.gkrellm.tar.gz: Not found in archive
tar: GKrellM-skins/Acqua.gkrellm.tar.gz: Not found in archive
tar: Error exit delayed from previous errors
|
Help please !!!!!!!!!!!!!!!!! |
|
Back to top |
|
|
Larde Guru
Joined: 07 Jun 2002 Posts: 313 Location: Duesseldorf, Germany
|
Posted: Mon Oct 21, 2002 4:52 pm Post subject: |
|
|
Loop it a little: Code: | $ for i in *gz; do tar xfz $i; done |
Hth ,
Larde.
edit: I assume there are no filenames containing space characters? _________________ Someday this will be my home... http://moonage.net/
I'll make you a deal
I'll say I came from Earth and my tongue is taped
|
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Mon Oct 21, 2002 5:02 pm Post subject: |
|
|
Unless all of the tar files create there own subdir, you could end up with a mess. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
kkj n00b
Joined: 17 Jul 2002 Posts: 52 Location: Denmark, aarhus
|
Posted: Tue Oct 22, 2002 12:00 pm Post subject: |
|
|
Larde wrote: | Loop it a little: Code: | $ for i in *gz; do tar xfz $i; done |
Hth ,
Larde.
edit: I assume there are no filenames containing space characters? |
Thx I will try it , when I get home from work
kanuslupus, I will keep it in my mind, but the tar files only contains pictures...At least I hope so |
|
Back to top |
|
|
|