Skip to content
Tweed Tech

Tweed Tech

IT Services for the Tweed

  • How can we help?
  • Home
  • Business
  • Consulting
  • Blog
  • Contact Us
linux

how to unzip a whole folder full of zips into separate directories in linux

April 2, 2016May 10, 2018 neil

Just use for loop and ‘basename’!

for i in *.zip; do mkdir `basename $i .zip`; unzip -d `basename $i .zip` $i; done<

Published by neil

View all posts by neil

Post navigation

Previous posthow to make a bootable Mac OS X installer USB using linux
Next posthow to debug a blue-screen-of-death
☎ (07) 5669 0726      ✉ info@tweedtech.com.au     📍 Tweed Heads NSW