How can I do a dynamic search of zip files in a particular path (e.g.:/opt/uploading/"*"/multiple .zip
files)
and unzip it into the same folder with the zip files?
Below function is unzipping multiple zip files and removing zip files. But I want zip files to be there with the unzip files.
while true; do
find -iname '*.zip' > zipindex
test -s zipindex || break
for zip in $(cat zipindex); do unzip -o $zip && rm $zip; done
done