LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unzip command options (https://www.linuxquestions.org/questions/linux-software-2/unzip-command-options-111932/)

jaa1180 11-03-2003 02:16 PM

unzip command options
 
using unzip... how can you unzip multiple zip files to one directory at the command line.
I have done this before but cannot remember for the life of me how I did it.
Ideas??? I know it must be an option....

iceman47 11-03-2003 02:18 PM

Code:

man unzip
Code:

unzip --help

jaa1180 11-04-2003 08:08 AM

??? I have no idea what you are trying to say...
I have read the man pages... but found nothing.
I tried something and it worked...
if there is 20 zip files in a directory and you want to unzip all of them to ...
/usr/share/sword let say. Then here is what I found to work....
unzip \* -d thedirectorywherethefilesaregoing
that will unzip everything...

I hope this will help someone later!

jim mcnamara 11-04-2003 09:20 AM

Generally, you have to escape (use the backslash in front of) the asterisk for a lot of commands that deal with files - find for example.

This can be confusing because the ls, ll... etc family doesn't require the escape character.

jaa1180 11-04-2003 11:10 AM

this is true...
I wonder what the meaning of the escape is... why do you have to escape?


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