深層学習とその他

機械学習したいマン

複数のファイルをunzipする

複数のファイルをunzipする場合、こういう書き方が思い浮かぶと思います。

unzip *.zip

実際にこのコマンドを打ち込んでも解凍はできません。
以下のようなエラーが出ました。

End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.

書き方を少しだけ変えるだけで複数ファイルの解凍ができます。ダブルクオーテーションで囲うだけです。

unzip "*.zip"