Many of you might have came across the situation where you had to extract multiple zip files. This can be done very easily from the Linux console.
When we unzip a file from the Linux console we use a command similar to the following.
When we unzip a file from the Linux console we use a command similar to the following.
unzip wso2am-2.0.0-BETA2.zipIn the same way, if you try to unzip multiple files using the same command, the following error would we given.
unzip *.zip
Archive: wso2am-2.0.0-BETA2.zip
caution: filename not matched: wso2analytics-apim-2.0.0-beta2.zip
To overcome this issue of "filename not matched", we can simply use the following command. This command will unzip all the zip files in the current folder.
unzip '*.zip'