LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to Unzip 2 Zip files through one single command (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-unzip-2-zip-files-through-one-single-command-305001/)

sumitarun 03-23-2005 05:31 AM

How to Unzip 2 Zip files through one single command
 
Consider the following Case : I have 2 Zip files in a specific folder. Now what i want is to execute one single command to unzip both the files. If this is possible then how and second thing is that while unzipping the files there shoudl be some parameter like Date or Name etc, so that user can hard code the order in which the zip files should be unzipped. In short how can i decide which file to be unzippe first and which to be second.

heema 03-23-2005 06:09 AM

have u check its manual page ?

man unzip

masonm 03-23-2005 08:00 AM

In the shell, if you want to run multiple commands you simply type:

command1 && command2 && command3 and so on for however many you want it to carry out

The commands will be executed in the order you enter them.


All times are GMT -5. The time now is 05:23 AM.