Browse > Home / Apple, HowTo / How to create password protected zip file (compressed) in Mac OSX

| Subcribe via RSS

How to create password protected zip file (compressed) in Mac OSX

January 1st, 2012 Posted in Apple, HowTo
↓Continue reading after the jump↓

There is no need to buy third-party tool to compress or to Zip file. Mac OS interface comes with built in functionality of compressing file. There are two ways to to compress Or zip files.

if you want to compress the file:

Method 1: Compress the file without password protection

1. In finder, locate the file.
2. Do a right click on file name
3. There is an option “compress” in the contextual action menu.
4. Click on “compress”, you will find compressed (.Zip) file in same directory

Method 2a: Compress (.Zip) the file WITH password protection

1. In “spotlight” (click top right “magnifying glass”), Search for “terminal” and open it.
2. Go to the directory where the files are stored that you wanted to compress
3. type following command
4. “zip -e myzipfile.zip file1.txt file2.txt” (notice the ‘-e’, it means: encrypt)
5. Once you enter the command, system will prompt you to supply password twice. Just enter the password you wish to set, and it’s done!
6. You should see myzipfile.zip appear in the directory.

if you want to compress the directory:

Method 2b: Compress (.Zip) the directory WITH password protection

1. In “spotlight” (click top right “magnifying glass”), Search for “terminal” and open it.
2. Go to the directory where the Directory is stored (directory consist more then few files) that you wanted to compress
3. type following command
4. “zip -er myzipfile.zip DirectoryName” (notice the ‘-e’, it means: encrypt and ‘-r’ means: recurse into directories)
5. Once you enter the command, system will prompt you to supply password twice. Just enter the password you wish to set, and it’s done!
6. You should see myzipfile.zip appear in the directory.

6 Responses to “How to create password protected zip file (compressed) in Mac OSX”

  1. petuerey online Says:

    Chaqueta de los modelos cortos abajo, diseños de manga corta son muy elegante, con un diseño de cinturón, más casual aseado. Pantalones Estrecho-piernas con pantalones negros, los colores más prominentes en el nivel. Luego, con falda de lana, hará que la gente se siente muy lady.


  2. seoul weather Says:

    If you’re educated (or seeking an education) you will probably find a ton of opportunity in a small town. With good habit
    and savings, you can be assured of having enough to start your own business.

    Two: Increase in income - When you are able to
    increase your traffic to the business, you will easily be able to also increase
    your income.


  3. health and fitness products Says:

    Look into their years of experience in managing small
    business accounts so that you can get professional
    advice on various financial matters. Make the process pain-free with debt collection software
    for a small business that automates this tedious process and adds to your
    company’s bottom line. For clients, you can target neighborhoods, communities or even companies.


  4. las vegas virtual office - mapquest Says:

    Or, perhaps you’re one of those students who desires a challenge, or even a good addition to your résumé for Grad school.
    As with everything else, it is only the mindset of the
    entrepreneur that dictates the success and failure of a company.

    Clients do not look no matter whether you’ve
    a small or big budgeted communication service.


  5. Dirk Says:

    Then send the postcard to all of the addresses in your area, and try to draw customers in. A lot of
    people have small business ideas that they often fail to put into practice either because they lack the money to
    make an investment or because the fear to lose everything.
    What you give away doesn’t have to be
    costly, but it must be valuable.


  6. las vegas virtual office Says:

    Or, perhaps you’re one of those students who desires a challenge, or even a good addition to your résumé for Grad school.
    Make the process pain-free with debt collection software for a small business
    that automates this tedious process and adds to
    your company’s bottom line. Selling the same
    things, to the same market, in the same way.


Leave a Reply

Most Recent Posts: