I wonder how to list the content of a tar file only down to some level? I understand tar tvf mytar. tar will list all files, but sometimes i would like to only see directories down to some level. I typically do:

I don't want: I try to tar. gz a directory and use tar -czf workspace. tar. gz * the resulting tar includes. svn directories in subdirs but not in the current directory (as * gets expanded to only 'visible' files