How to Create Zip File On Mac OS X

Ever wondered how to create a zip file or folder in Mac OS X? If you are looking for it then you are in the right place.

Well, making a zip archive on a Mac is very simple or easy. But with the help of compression tools built directly into Mac OS X. You don’t want to install extra software or add-ons to instantly create zips and compress either each file, a group of files, or a whole folder. If you don’t know how to create zips on the Mac, you can do it quickly. Let’s take a look:

Create Zip File On Mac OS X

Zip File On Mac

You can also use this to create zip folders, files of files, or both:

  1. Add the items to zip in the Mac Finder (file system)
  2. Right-tap on a file, folder, or files you like to zip
  3. Choose “Compress Items”
  4. Find the recently created .zip archive in the same directory

Or;

  1. Initially, create a folder of all the files you would like to ZIP.
  2. Then name the folder, and move to File>>Compress located in the top menu bar.
  3. It creates a zip file in the same place as the original folder.
  4. You can now easily send a single file vs. lots of files without messing with or install overly difficult software.

When each file is being zipped, the zip archive maintains the standard file name but adds its .zip extension.

If you zipped more than one file, then the archive will be named “Archive.zip”, and if several archives are created, they will be named “Archive 2.zip” and so on so forth.

However, it works in all variants of Mac OS X, and you can then access the compress item option from a right-tap with a mouse. Or else control-tap with keyboard, or two-finger tap on a trackpad from the Mac.

How To Extract Zip Archives

Extracting zip files is very easier, you just double-tap on the archive and it will automatically expand with Archive Utility in the same folder the archive is saved in.

For instance, when you extract an archive named “ZippedSample.zip” in the ~/Downloads/ directory. Then the incoming extracted folder would be named “ZippedSample” in that same ~/Downloads/ directory.

Create Zip File Via Command Line

Create Zip File Via Command Line

If you don’t want to use the standard Finder and file system approach. Then you can also create the Zip archives from the command line simply by using the terminal command ‘zip’ with the following syntax:

zip archive.zip file.txt

Another easy method to create an archive from the command line is to use the Terminal’s drag & drop support. Enter ‘zip’ as usual then drop in the file(s) to compress in the Terminal window.

However, unzipping from the command line is quite easy, using the easy ‘unzip’ command:

unzip archive.zip

You can aslo add paths and other info if you want to. But if all you’re searching to do is extract a file there is not much more to do than a simple unzip command.

Conclusion:

You can now easily create zip files or folder in Mac OS X. If you find it helpful then share it with others but don’t forget to leave your feedback in the comment section below!

Also Read:

Leave a Reply

Your email address will not be published. Required fields are marked *