User Tools

Site Tools


buildsw:reference:tar

tar

Creating tarballs:

tar -cvzf filename.tar.gz <directory>

Decompressing tarballs:

tar -xvzf filename.tar.gz
tar xvzf filename.tgz

List the contents of a tar file:

tar -tvf file.tar

List the contents of a tar.gz file:

tar -ztvf file.tar.gz

List the contents of a tar.bz2 file:

tar -jtvf file.tar.bz2
buildsw/reference/tar.txt · Last modified: 2016/08/06 14:29 by gwhiteman