Next / Previous / Index / ITC 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 Information Technology and Communications: Help System
ITC Publications
To report a problem: File a ticket
Send mail to the User consultant on duty or call them at 575-835-5437
Home: About New Mexico Tech

John Shipman,
Last updated: 2000/09/20 21:25:06 UT
QR two-dimensional bar code