Listing of files in a tar file in Mac OS X.

By: Margaret Viewed: 153258 times  Printer Friendly Format    


The zipinfo tool gives a listing of files in a zip file. You can get a similar listing for tar files by using the command line tar:

# /usr/bin/tar tf MyFiles.tar

If the tar file is also compressed, add a z to the flags:

# /usr/bin/tar tzf MyFiles.tgz

Extend ZIPspector to deal with .tar and .tgz files also.



Most Viewed Articles (in Cocoa )

Latest Articles (in Cocoa)

Comment on this tutorial