Re: this can't be a bug

2002-07-26 Thread Kevin Myers
On Tue, 23 Jul 2002 01:01:01 -0700, you wrote: > find . -name "*.tar.gz" -print0 | xargs -0 tar xzf > >doesn't do what i would think it should do In addition to the other answers given, I suspect find . -name "*.tar.gz" -exec tar xzf {} \; would do what you want too. ___

Re: this can't be a bug

2002-07-26 Thread Joachim Breuer
gabriel <[EMAIL PROTECTED]> writes: > find . -name "*.tar.gz" -print0 | xargs -0 tar xzf > > doesn't do what i would think it should do > instead it returns the list of tar.gz files with the error: > > tar: ./filename0.tar.gz: not found in archive > tar: ./filename1.tar.gz: not found in arc

RE: this can't be a bug

2002-07-26 Thread Hugh E Cruickshank
Hi Gabriel: Since no one else has responded, I will give it a shot. Offhand I would say that it is executing one tar command with all the tarballs on the one command line. The first one is used as the tarball and the rest are used as filenames to be extracted from the tarball. Try the followin

this can't be a bug

2002-07-26 Thread gabriel
find . -name "*.tar.gz" -print0 | xargs -0 tar xzf doesn't do what i would think it should do instead it returns the list of tar.gz files with the error: tar: ./filename0.tar.gz: not found in archive tar: ./filename1.tar.gz: not found in archive tar: ./filename2.tar.gz: not found in arch