-
-
Save AdamGagorik/ef7b2fbb3c6846f398f1 to your computer and use it in GitHub Desktop.
Create and extract tar archives
This file contains 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
# create | |
tar -cvf output.tar input/* | |
gzip output.tar | |
# The name of the tar, "output.tar", does not matter. | |
# When extracted, the files will expand into a directory named "input". | |
# extract | |
tar -xvf output.tar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment