Tar.gz

From KlavoWiki
Jump to navigationJump to search

To extract a .tar.gz file use the following command.

tar xvzf file

To create a .tar.gz file use the following command.

tar cvzf filename.tar.gz source

Switches

    -c create a new archive
    -x extract files from an archive

    -v verbosely list files processed
    -f use archive file or device ARCHIVE
    -z filter the archive through gzip