Linux
19 June 2011 0 Comments

Extracting a .tar.gz File With a Single Command

This will extract the contents of files.tar.gz to the current directory:

tar -xzf files.tar.gz

I find that a good mnemonic for this is the “angry German ordering you to extract an archive” mnemonic:
Xtract Ze Files!!

Tags: extract, gz, tar, xvzf