How to compress and uncompress files and folders in Terminal in OSX 10.11

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.

compress and uncompress files and folders in Terminal in OSX 10.11

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 —>

Ali Raza

Admin at Techbeasts
On Techbeasts, +Ali Raza shares his experiences about the Gadgets he uses, He loves to collect different wallpapers for his Android, Apple smartphones and his laptops, so he also brings you the best wallpapers for your devices.

Latest posts by Ali Raza (see all)

© 2017 TechBeasts. All rights reserved.· Entries RSS · Comments RSS
TechBeasts.com is not associated with Google, Samsung or any other OS provider and smartphone manufacturer. We are an unofficial fan site.