Commands for archiving and zipping files.
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
tar | |
=== | |
create new gunzipped tar | |
$ tar cvzf <name>.tar.gz file <files> | |
extract from gunzipped tar | |
$ tar xvzf <name>.tar.gz | |
list contents of gunzipped tar | |
$ tar tf <name>.tar.gz | |
zip | |
=== | |
create new zip | |
$ zip <name>.zip file <files> | |
extract from zip | |
$ unzip <name>.zip | |
list contents of zip | |
$ unzip -l <name>.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment