Created
November 10, 2016 06:38
-
-
Save tuanmai/a3844798b4e631f706f4829049c08359 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Type man tar for more information, but this command should do the trick: | |
tar -xvzf community_images.tar.gz | |
To explain a little further, tar collected all the files into one package, community_images.tar. The gzip program applied compression, hence the gz extension. So the command does a couple things: | |
f: this must be the last flag of the command, and the tar file must be immediately after. It tells tar the name and path of the compressed file. | |
z: tells tar to decompress the archive using gzip | |
x: tar can collect files or extract them. x does the latter. | |
v: makes tar talk a lot. Verbose output shows you all the files being extracted. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment