nested zip extract

How to Recursively Extract All Nested Zip Files in Linux

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;

Leave a Reply

Your email address will not be published. Required fields are marked *