Marat Kornyev
A tech-writer loving to find the best applications for Mac
26/01/2021
13 minutes to read

Zipping and unzipping a file sounds a little techie, am I right? However, it is not that hard of a process as you think it is. In this article, I will explain what is zip a file on macOS, how to zip a file on Mac, how to unarchive zip files on Mac, and how to check a Mac for duplicate zip files in two different ways.

Table of content:

  1. What is a zip file on Mac
  2. How to zip a file on Mac
  3. How to unzip a zip file on Mac
  4. How to check a Mac for duplicate zip files

What is a zip file on Mac?

ZIP files are files with the .zip or .zipx extension. It is a type of archive file format. One ZIP file can contain one file or many other ones and many different directories that may have been compressed. ZIP is commonly used as a base file folder for different applications under a different name. Interestingly, Apple has included a build-in zip files support in its Mac OS X 10.3 and later versions.


How to zip a file on Mac?

Zipping files on Mac is easy. To create zip files on Mac, you have to do just a few clicks:

  1. Choose the folder/file you want to archive and right-click on it.
  2. In the drop-down menu choose Compress file/folder name.

Here you go. That is how you create zip files on Mac.

Choosing compress Zip files command in drop down menu

However, you can also zip a file and lock it with a password. Here are the steps how to create a password secured zip file:

  1. First of all you have to create the folder you want to zip, to make this whole process easier, we recommend you to create the folder on your desktop.
  2. Put all the files you need into that folder.
  3. Open Terminal:
    1. Open Spotlight and search for Terminal.
    2. Launch Terminal from the utilities folder in Finder.
    3. Searching for Terminal in Utilities folder in Finder
      Searching for Terminal with Spotlight
  4. In the Terminal window enter the following command:
    zip -er NAMEOFZIPFILE.zip
  5. Add a space after the command and drag and drop the folder or file you want to zip to provide the Terminal with the path to your folder or file.
  6. Terminal shell with the needed command

  7. After, you will be asked to enter and verify the password for the new zip file.
  8. Password protection in Terminal of the new zip file

  9. Press Enter. Voilà! Your zip file was created.
  10. Terminal successful message


How to unzip a zip file on Mac?

The process of opening zip files on Mac is even easier than creating them. All you have to do is to double click on the zip file. Again, Apple has included a build-in zip files support in its Mac OS X 10.3 and later versions. On the screenshots below you can see the zipped file Archive.zip and the unzipped Archive folder after double click.

A zip file in Finder

Finder window showing zipped file

A zip file and unzipped

Finder window showing zipped and unzipped file

However, you can also unzip locked files. Here are the steps how to unzip locked zip file:

  1. First and foremost, you have to find it. There are several ways you can find recently created locked zip files:
    1. Open Finder and go into the Recents folder.
    2. Create a new Smart Folder, continue reading the article to learn how to do it.
    3. Zip file shown in Recents tab of Finder
      New Smart Folder showing recently created zip file

  2. Click on the document you want to unzip, enter the password and click OK.

Password entry window to unzip file

Here you go, your file was unzipped. Now it will appear in the Recents and in the same folder where the original zip file was.


How to check a Mac for duplicate zip files?

While working with zip files we accidentally unarchive or archive more than once. Thus, over time we can pile up folders with the identical files or many identical archive files. For that reason, if you work a lot with zip files, we recommend that you check your Mac for duplicate folders and duplicate files. Here we will demonstrate two ways how you can get rid of those unneeded files. First, is manual detection and deletion of them and second, is with the help of an app called Duplicate File Finder.

How to manually find and remove duplicate zip files

There are two different ways of how you can remove the duplicate zip files. However, before deleting those files, you have to find them.

To manually find and delete those files, you have to:

  1. Open Finder.
  2. Open the File menu and select New Smart Folder.
  3. Choosing New Smart Folder command in Finder menu

  4. Click the plus in the top right corner of the Finder window and choose Other under “Any.”
  5. Creating smart folder for other files

  6. Type “zip” in the next field. You will see a list of your zip files. Note, you can also just select Archive, but it will not show you ONLY zip files, it will show you installment packages and all sorts of archive files.
  7. Creating smart folder for zip files

  8. Arrange files by their sizes. Most likely that two zip files with absolutely the same size are duplicates. However, here another issue arises. Files with identical size and name can be duplicates, unfortunately, the only way to check this is to unarchive them, so you do not accidentally delete a needed file. Moreover, by unarchiving files you will be using up even more of your valuable space.
  9. Once you make sure that the zip files are duplicates, you can go ahead and drag and drop them into the Trash bin.
  10. Clean your Trash bin.

Moreover, when you are done with the duplicate zip files, it does not mean that you are done with duplicates just yet. You might unarchive a file more than once, then you have to go back and chase back all those duplicates. Thus, we recommend you another way to find and clean those zips automatically using Duplicate File Finder. It is a much safer and faster way to deal with all those unneeded duplicates.

Follow these steps to automatically detect and delete duplicate zip files:

  1. Open Duplicate File Finder.
  2. Choose the folders that you want to be scanned, or if you want it to scan the whole computer, just choose Scan Home Folder.
  3. Duplicate File Finder window

  4. The app will automatically scan the whole list for all duplicate files, and then in the menu, there will be an option to choose what types of files you want to look at.
  5. Click on the Duplicate Files tab.Then a dropdown will appear where you can choose file types where you have to select archives.
  6. Duplicate File Finder scan result window

  7. After you will see the list with the needed duplicate zip file Mac. Here you can Auto Select all the duplicate zip files or go ahead and manually choose unneeded files.
    Duplicate File Finder showing archive's duplicates

    Also we recommend that you then switch to the Duplicate Folders tab and remove duplicate folders that have been created when you unzipped one archive file for several times.

  8. Once you have selected all duplicate files, click Review & Remove and confirm the duplicates deletion. All the duplicate files will be placed into the Trash.
  9. All you have to do now is to clean your Trash bin.

Conclusion

To sum up, we showed you how to zip a file on Mac, how to unzip a zip file on Mac, and two different ways how to find and delete duplicate zip files on Mac. You can either do it manually by creating a smart folder through Finder, or you can do it automatically using the Duplicate File Finder.

Scroll to Top