Files

224 B

Unzip to a folder with the same name as the file (without the .zip extension)

for f in *.zip; do unzip "$f" -d "${f%.zip}"; done

For just one file (i.e. to use in a function) it would be:

unzip "$1" -d "${1%.zip}"