Generate skeleton file trees of tar files for browsing
./skeletar fs.tar.gz skeleton
This will create a directory called skeleton containing the file tree of fs.tar.gz without extracting the actual file contents. This is useful for quickly browsing the structure of large tar files without needing to extract them fully.
skeletar uses libarchive (the library behind BSD tar). To build, ensure you have a preferred C compiler set as CC in your environment, then run:
./build.sh
./skeletar <tar-file> <output-directory>