Created
August 12, 2014 07:19
-
-
Save Webklex/45c3b04cceedc7d808fc to your computer and use it in GitHub Desktop.
Zip a folder in Linux
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
#To zip a folder | |
zip -9 -r <zip file> <folder name> | |
#To zip a single file: | |
zip -9 <zip file> <filename> | |
#Use "-9" for best compression. The compressed file works fine with Windows XP compression tool. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment