Created
April 24, 2017 22:55
-
-
Save kolunar/84b475ee2f3dd4cd455b477db9d111c2 to your computer and use it in GitHub Desktop.
SSH zip and unzip
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
zip all files in a dir | |
====================== | |
zip -r filename.zip foldername/ | |
zip all files in current dir | |
============================= | |
zip -r filename.zip * | |
unzip | |
===== | |
unzip filename.zip | |
ref: http://www.servermom.org/how-to-zip-compress-and-unzip-extract-files/65/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment