Categories
How to's

Unzip or decompress multiple zips or archives in a folder

Lets face this sittuation when you have a large no of zips or rar files or tar files in a directory. You want to unzip all of them in one go…
For unzipping multiple zip files in a directory use this command (first change to that directory).

$unzip ‘*.zip’

those quotes are necessary.. it prevents the shell from expanding the wild characters..

Now if you want to untar large no of files use

$tar -xvf  ‘*.tar’