Following are the instruction on how to compress and uncompress files and folders in Terminal in OSX 10.11.
If you are new to Mac or recently update your device to latest OSX 10.11 El-Captain and want to know how to compress and uncompress files and folders, following are the different method to do so. Mac OS X is a Linux-based operating system so its methods are pretty different from other operating systems. Compressing files and folder helps to reduce size of files and you can save a lot bits of data on your hard drive.
Contents
How to compress and uncompress files and folders in Terminal in OSX 10.11:
ZIP – Cross Platform:
To compress:
zip -r archive_name.zip folder_to_compress
To extract:
unzip archive_name.zip
Create a zip file with custom name:
zip -r -X archive_name.zip folder_to_compress
To see more methods goto next page —>