I wonder how to list the content in an archive file and remove some directories from it?
For example, I have an archive file data.tar.
-
I would like to list its content without extracting it. Is it possible to control the level of directory for viewing? I mean not necessarily every files, but just down to some level of the path.
-
I also would like to remove some directories matching
"*/count1000"from it.
to see the contents of the tar file,
to extract a file,
to delete a file