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

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

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


O, as in tar xOvzf tarball files

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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