Next / Previous / Index / TCC Help System / Publications / Site map / NM Tech homepage

Listing the contents of a tar archive

Tech Computer Center logo

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

Next: Extracting the contents of a tar archive
See also: How to move an entire directory tree
Previous: How to make a tar archive
Site map
Index: Keyword index to help pages
Help: New Mexico Tech Computer Center: Help System
TCC Publications
Home: About New Mexico Tech

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