LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-29-2004, 09:44 AM   #1
captainhog
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Rep: Reputation: 0
unzip command with password in a script?


I have to unzip a file that has been password protected using unzip (version 5.5 on Red Hat 2.41.21).

When I run the command from the command line, it prompt me to enter the password.

Unfortunately, this process needs to be automated, so I am trying to figure out how to pass the password to the command. I can find to 'password' or 'encrypt' option.

Any ideas?

Thanks,

Sean
 
Old 03-29-2004, 09:54 AM   #2
captainhog
LQ Newbie
 
Registered: Mar 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Ignore this post - I should have read the man page first.

Sorry about that.

Sean
 
  


Reply


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
How to Unzip 2 Zip files through one single command sumitarun Linux - Newbie 2 03-23-2005 08:00 AM
useful script - Now, you only have to remeber one password! Likosin LinuxQuestions.org Member Success Stories 1 10-06-2004 07:47 PM
unzip command options jaa1180 Linux - Software 4 11-04-2003 11:10 AM
script and password input Rex_chaos Linux - General 1 07-22-2003 03:04 PM
Password Change Script krpotdar Linux - General 6 04-17-2002 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:06 AM.

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