Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-23-2005, 05:31 AM   #1
LQ Newbie
Registered: Mar 2005
Posts: 8

Rep: Reputation: 0
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.

Last edited by sumitarun; 03-23-2005 at 05:33 AM.
Old 03-23-2005, 06:09 AM   #2
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
have u check its manual page ?

man unzip
Old 03-23-2005, 08:00 AM   #3
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
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.


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
unzip all .zip files in a directory tes15 Linux - Newbie 14 08-29-2014 11:46 AM
Unzip multiple zip files, each to separate folder smart_sagittari Linux - Newbie 3 03-21-2012 08:41 AM
zip & unzip bong.mau Linux - Software 13 09-09-2005 07:18 PM
Zip and Unzip concoran Linux - General 4 08-02-2002 07:12 PM
how do i unzip a .zip? lax2sman Linux - General 2 02-11-2002 05:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 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