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


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.

 
 
 
 
 
COPYRIGHT © 2017 java-samples.com. ALL RIGHTS RESERVED.