Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-25-2005, 03:36 AM   #1
Registered: Feb 2005
Posts: 61

Rep: Reputation: 16
How do I extract password pretected .zip files in linux


I am wondering how do I extract password protected .zip in linux (I am using Suse 9.2). I have the password, Ark can see the contents of the files but whenever I try to extract them I get an error!

Old 03-25-2005, 04:19 AM   #2
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
man unzip:

-P password
use password to decrypt encrypted zipfile entries (if any).
THIS IS INSECURE! Many multi-user operating systems provide
ways for any user to see the current command line of any other
user; even on stand-alone systems there is always the threat of
over-the-shoulder peeking. Storing the plaintext password as
part of a command line in an automated script is even worse.
Whenever possible, use the non-echoing, interactive prompt to
enter passwords. (And where security is truly important, use
strong encryption such as Pretty Good Privacy instead of the
relatively weak encryption provided by standard zipfile utili-
Old 03-25-2005, 04:47 AM   #3
Registered: Feb 2005
Posts: 61

Original Poster
Rep: Reputation: 16

I was also able to locate that. I used the command

unzip -P password zipfile

Thanks again.

1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
extracting from password protected zip files sanjith11 Linux - Software 4 03-21-2006 09:14 AM
Adding password to zip files with Ark? Cinematography Linux - Software 1 04-30-2005 03:42 PM
ZIP files with password masand Linux - Software 2 11-14-2004 11:49 AM
password protect zip files xlord Linux - Newbie 3 05-04-2004 12:04 PM
How do I extract a multipart zip/ror file drspore Linux - General 2 02-07-2004 12:09 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration