Unzipping Password Protected Zip Files in OS X

In PC land, password protecting a zip file is fairly common. In OS X land, it’s not.

So what happens when you try to unzip a .ZIP file in OS X that has a password on it? OS X fires up its Archive utility and errors out with this:

(Error 1 – Operation not permitted)

Wonderful.

So what do you do?

Open up a Terminal session (it’s in the Utilities folder in Applications) and run this:

# /usr/bin/unzip [filename].zip

That will prompt you to enter a password and inflate its contents fine =)

I’ve also tested OS X compression apps: UnRARX and iArchiver.

On a side-note, Stuffit Expander will prompt for the password as well


6 Responses to “Unzipping Password Protected Zip Files in OS X”

  • PH Says:

    Thanks for this! The process for downloading the free version of StuffIt was ridiculous!

  • Shenelle Says:

    Hey everyone. I’m hoping to meet new friends here so drop me a note when you
    get a chance.

    I hope to make some quality posts soon but first I have to look around the forum and
    familiarize myself with everyone and the forum.

    Bye for now. lol

    ***************************************************

    Biggest Loser of All Time

  • dj wiggz Says:

    very useful thanks

  • Pete Says:

    in the terminal screen, I found it helpful to have a Finder window open to where the zip file is. Then after typing /usr/bin/unzip drag file from finder to the terminal after the space and it will put the whole path for you.

  • Hoa Says:

    I tried from command line, but it never prompt to enter a password. Instead I got this err message: “Unsupported compression method 99″.

    Any ideas ?

    Thanks.

  • Mel Says:

    Thanks for this tip, and thank you also to Pete for that tip. I’m sure it’s going to come in handy in many other cases too!

Leave a Reply