Listing the contents of a tar archive |
|
If you want to know what files are contained in a ``tarball'' (tar archive) file, made with file compression turned on (as recommended in our procedure for building tarballs), use this command:
tar -tvzf filename
For example, if you have a tarball file named rainpics.tgz,
you would use this command to list its contents:
tar -tvzf rainpics.tgz
|
John Shipman, john@nmt.edu
Last updated: 2000/09/20 21:25:06 UT URL: http://www.nmt.edu/tcc/help/unix/tar_list.html |
|