For the Linux newbie from a noob

Scenario: You have quite a large number of zip files in a folder with other files and would like to avoid manual labor of extracting one file at a time.

The below graphic is the result of extracting an e-book downloaded from the web in compressed format.


Solution: A simple shell script to extract all files at one go.

Save the script with a .sh extension and make sure it resides in the same directory as the compressed files.

Fire up the terminal, cd to the target directory and execute the script using ./xxxx.sh

P.S.: Has been successfully tested on Ubuntu

Related posts:

  3 Responses to “Unzip multiple zip files using Shell script”

  1. Its very good ….. thank you very much

  2. am glad it could be of help..

  3. good
    but i need more parameter in a scripts
    like
    1- unzip all .zip files
    2-delete all .zip files and sort them of unzip files by date and time
    3-Rename unzip files

    anyone tell me.solution

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2012 GeowebInfo Suffusion theme by Sayontan Sinha