Re: A silly question about tar
- From: Chanan Berler <bc.tti07@xxxxxxxxx>
- Date: Sun, 18 Mar 2007 04:09:25 -0700 (PDT)
i think it's best to use the find command - something like that
find . -type f -name "*.tar.bz2" -exec tar xjf {} \;
ps:
try this first to check u get the filelist u wanted:
find . -type f -name "*.tar.bz2"
Adam Porter wrote:
I've read the man page, googled this list and the rest of the Net, but I
still can't figure out why this doesn't work:
$ tar xjf *.tar.bz2
tar: beryl-core-0.2.0.tar.bz2: Not found in archive
tar: beryl-manager-0.2.0.tar.bz2: Not found in archive
tar: beryl-plugins-0.2.0.tar.bz2: Not found in archive
tar: beryl-plugins-unsupported-0.2.0.tar.bz2: Not found in archive
tar: beryl-settings-0.2.0.tar.bz2: Not found in archive
tar: beryl-settings-bindings-0.2.0.tar.bz2: Not found in archive
tar: beryl-settings-simple-0.2.0.tar.bz2: Not found in archive
tar: emerald-0.2.0.tar.bz2: Not found in archive
tar: emerald-themes-0.2.0.tar.bz2: Not found in archive
tar: heliodor-0.2.0.tar.bz2: Not found in archive
tar: Error exit delayed from previous errors
Not only did it completely fail, but it skipped the first file in the
directory, aquamarine-0.2.0.tar.bz2. But if I run the same command on a
single file instead of a wildcard, it works fine.
Am I doing something wrong? Why can't tar handle a wildcard list like
that?
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx
--
View this message in context: http://www.nabble.com/A-silly-question-about-tar-tf3418581.html#a9537723
Sent from the Debian User mailing list archive at Nabble.com.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- A silly question about tar
- From: Adam Porter
- A silly question about tar
- Prev by Date: Re: Debian's progress inspite of events (was Re: Dunk-Tank and the DD strike)
- Next by Date: foomatic-rip failed
- Previous by thread: Re: A silly question about tar
- Next by thread: Sound on Linux?
- Index(es):
Relevant Pages
|