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.

unzip *.zip

The correct command is to wrap *.zip in single quotes.

unzip '*.zip'

Another way is to loop through each zip file and unzip one at a time.

for zipfile in *.zip; do unzip $zipfile; done

Search within Codexpedia

Custom Search

Search the entire web

Custom Search