unzip multiple files in linux or mac os x

If you’ve tried to unzip a bunch of zip files via the unix command line using a Linux distro or Mac OS X using the following command you may have come across the following.

The command:

unzip *.zip

displays the error:

caution: filename not matched

The easiest way of fixing this is by adding ‘single quotes’ to the file portion of the command, for example:

unzip '*.zip'

Which will unzip all of the zip files in the current directory.

Mac OS X users: you can access the unix terminal by running Terminal, an application found in Applications -> Utilities.

1 thought on “unzip multiple files in linux or mac os x”

  1. unzip source/file.zip -d folder/dest/

    simply if your using destination as path specify its -d as directory
    it will work

    unzip source.zip -d direcorypath

Leave a Reply

Your email address will not be published. Required fields are marked *