How to put a password to a ZIP on Mac

In recent times, Apple Mac computers have seen remarkable development, adjusting to technological advances to stay ahead of the curve. However, they suffer from a fatal flaw: storage capacity. To solve that problem, you can compress data and password ZIP files on your Mac .

In this way, you preserve your data and also your privacy . How can you create a zip file and assign a custom password to it on Mac? In this article, we explain everything you need to know to take advantage of this feature when managing the files on your Mac.

Index( )

  1. This is how you put a password on a compressed file on Mac
    1. Terminal
    2. WinZip
  2. Why is it necessary to compress a file with a password on Mac?
  3. How to create a .rar file with a password on Mac

This is how you put a password on a compressed file on Mac

To protect an archive with a password on Mac there are several options. You can use third-party applications or use terminal, an application built into all Mac computers for entering commands. Although the second option is slightly more complicated, all methods are equally effective and we show you all of them here.

Terminal

Access Terminal in Utilities or by using Spotlight search with ‘  + Spacebar ‘. It may be useful for you to know this and other keyboard shortcuts for Mac. The next thing is to configure the folder with which you are going to work; We recommend using the desktop for those who are not familiar with using Terminal.

To do this, enter ‘cd Desktop’ (without quotes). The next thing is to move the file or folder to be compressed to the Desktop and enter the following command: ‘ zip -e [compressed file name] [original file name] ‘. An example would be zip -e file.zip file.txt. It is important to include the extension of each file.

In the case of folders, the extension is replaced by a ‘/*’. The filename or path must match perfectly. As you proceed, Terminal will display a small window where you can enter the password .

During this step, there may be some apparent delays, such as a frozen cursor or characters that are slow to appear on the screen, but don’t worry, Terminal is still recording every key you press. Be careful when typing the password , because you will not be able to see it and any small mistake can leave you without access to the file.

WinZip

One of the leading application to compress and decompress files on all platforms. That means it’s pretty solid and powerful, but also easy to use. If you don’t have it, you can download it on its official page . This way you can drag the files you want to encrypt and hit the “Encrypt” option on the right panel. Enter the password you want to set  and save the changes. It’s that simple to create a password-protected ZIP.

Why is it necessary to compress a file with a password on Mac?

If you handle large volumes of information on your Mac, it will surely be useful to save space by compressing folders or files. But, in addition to that, you need to ensure the privacy of such files by encrypting them, thus protecting them from prying eyes and cyber dangers .

That is why you should always consider the option of putting a password on your ZIP files, although it is totally optional. However, to take care of your privacy in times where computer attacks abound, it is prudent that you always password them and protect them, especially if it is sensitive information . If you use Mac OS X, here are some tips to improve its security .

In the same way, you may be interested in protecting your folders and files without the need to compress them , with a secret password. If you wonder how to do it, check our posts where we explain  the procedure to password your folders on Mac .

How to create a .rar file with a password on Mac

Using Terminal and following the steps above, you will be able to create compressed files in .rar format without any complications. You just have to make sure you put the correct extension and then enter the password .

Alternatively, you can use a third party application like WinZip. Just select the files or folders you want to zip, right click and use the WinZip extension to create a zip file. Choose the .rar format and then assign the password to complete the process. With that, you will have your .rar file protected.

 

Leave a Comment