What is the equivalent of gunzip -c to pipe the content of a bunch of tar.gz files without having to permanently "tar xzf" them and "tar czf" them back?

Something like: tar xzf "-c" *.tar.gz | xargs grep something

link|improve this question

73% accept rate
feedback

migrated from stackoverflow.com Jun 6 '11 at 6:38

This question came from our site for professional and enthusiast programmers.

1 Answer

O, as in tar xOvzf tarball files

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.