I needed to recursively unzip a big mess of nested zip files. This shell command does the trick, it also preserves the directory structure.
find . -name "*.zip" | while read filename; do unzip -o -d "`dirname "$filename"`" "$filename"; done;
I needed to recursively unzip a big mess of nested zip files. This shell command does the trick, it also preserves the directory structure.
find . -name "*.zip" | while read filename; do unzip -o -d "`dirname "$filename"`" "$filename"; done;