unzip multiple zip files at once

There is a list of zip files in a directory that you want to unzip them all. This unzip command will give filename not found error.
[code language=”shell”]
unzip *.zip
[/code]

The correct command is to wrap *.zip in single quotes.
[code language=”shell”]
unzip ‘*.zip’
[/code]

Another way is to loop through each zip file and unzip one at a time.
[code]
for zipfile in *.zip; do unzip $zipfile; done
[/code]

Search within Codexpedia

Custom Search

Search the entire web

Custom Search