Unzip *A LOT* of Files Into Directories Named After the Archive Itself?

  1. #!/bin/bash
  2. pattern=*.zip
  3. for i in `find -name $pattern`; do
  4. dir=${i%\.*}
  5. unzip -o $i -d $dir
  6. done

I had to, ~5k archives. Using the context-menu and 7zip "extract to.." would stop processing the zip files after... maybe the 200th archive - without any error messages.