Programming Tutorials

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

By: Margaret in Cocoa Tutorials on 2010-09-24  

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.






Add Comment

* Required information
1000

Comments

No comments yet. Be the first!

Most Viewed Articles (in Cocoa )

Latest Articles (in Cocoa)