Created
February 2, 2014 13:03
-
-
Save shahdhiren/8768059 to your computer and use it in GitHub Desktop.
ZIP Cross Platform
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 Cross Platform ###################### | |
#Link : http://www.coolestguyplanettech.com/how-to-compress-and-uncompress-files-and-folders-in-os-x-lion-10-7-using-terminal/ | |
#First up is ZIP one of the most commonly used compression techniques used across all platforms | |
#To compress | |
zip -r archive_name.zip <folder_to_compress> | |
#To extract | |
unzip archive_name.zip | |
#If you want to make a zip without those invisible Mac resource files such as “_MACOSX” or “._Filename” and .ds store files, use the “-X” option in the command so: | |
zip -r -X archive_name.zip <folder_to_compress> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment