How to extract *.tgz or *.tar.gz
To extract .tar.gz or .tgz files from terminal or via ssh
tar -zxvf file.tar.gz
or
tar -zxvf filename.tgz
I don’t know about anyone else but 99% of the time when faced with a compressed tar file I want to extract it to its own folder and view the progress of the decompression. So why it is that every time you seek the answer to this question do most linux support sites feel the need to explain over 1500 words every single possible switch and variant of the tar command coupled with the historical development and legacy options of the command. WE DON’T CARE.
Related Posts
| Print article | This entry was posted by Andy Bird on July 18, 2010 at 12:26 pm, and is filed under linux, ssh. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |