30 November 2010

Unzip Multiple Zip Files At Once (Via the Shell) - (Ubuntu)

Situation

A directory is full of multiple zip archives and the user does not want to manually extract each one as it is time consuming.

Solution

In the shell change directory to the directory containing all the zip files then type the following command

ls *.zip | xargs -n1 unzip

All the zip files will be extracted to the current directory.

No comments:

Post a Comment