List and Remove directories in an archive

Posted by Tim on Stack Overflow See other posts from Stack Overflow or by Tim
Published on 2010-04-23T15:32:36Z Indexed on 2010/04/23 15:33 UTC
Read the original article Hit count: 215

Filed under:
|

I wonder how to list the content and remove some directories in an archive file? For example, I have an archive file data.tar. I would like to list its content without extracting it. I also would like to remove some directories inside it matching "*/count1000"

Thanks and regards!

© Stack Overflow or respective owner

Related posts about bash

Related posts about archive