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

By: Margaret  

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.

Archived Comments

Most Viewed Articles (in Cocoa )

Latest Articles (in Cocoa)

Comment on this tutorial