Problems with ZIP file

Joined
Apr 2, 2008
Messages
6
Reaction score
0
Points
1
I just got a zip file from a friend and it has a password on it. I tried to open this file with Archive Utility and UnRarX and neither one lets me put in a password. How do I get this file opened?
 
Joined
Mar 6, 2008
Messages
127
Reaction score
3
Points
18
Location
Devon, United Kingdom
Your Mac's Specs
17" eMac 1.42 GHz G4, Mac OS X 10.4 "Tiger"
You could try using the unzip command through Terminal.

The command would be: unzip -P password file.zip

You would replace "password" with the password for the file and "file.zip" to the file itself.

Afterwards, I'd run this command too: cat /dev/null > ~/.bash_history

That will delete the BASH history, so people can't scroll up the history of the commands you ran in Terminal and see password you entered, as it will be stored in plain text. Alternatively, you can open the .bash_history and delete the unzip line in there separately if you don't want to delete the whole history.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top