On Thu, 2002-09-05 at 17:50, Sam Ockman wrote:
> The best way to probably do this is to learn how to use the find
> command.  It's complicated but should allow you to do this without
> shell scripting

It would be difficult to extract the files to the correct location with
"find" by itself.

> or Perl (which imho is always better than shell
> scripting).

Perl is good for what's it's good for.  This task is clearly suited to
the shell, as are many others.  Perl is often overkill.

> You could also try the poor man's version...which would be this.  I
> can't guarantee it will work, and don't have anywhere to test it, but
> it sounds like it should.
> 
> tar -xzf */*/*.tar.gz

That'll extract all of the files to the toplevel directory, wrecking the
structure.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to