Thursday 31 May 2018

linux - Unzip All Files In A Directory




I have a directory of ZIP files (created on a Windows machine). I can manually unzip them using unzip filename, but how can I unzip all the ZIP files in the current folder via the shell?



Using Ubuntu Linux Server.


Answer



This works in bash, according to this link:




unzip \*.zip



No comments:

Post a Comment

php - file_get_contents shows unexpected output while reading a file

I want to output an inline jpg image as a base64 encoded string, however when I do this : $contents = file_get_contents($filename); print &q...