hy9fesh
January 31, 2021, 10:16pm
1
Say I have a list of folders and I want to unzip the .ZIP files. Is there a bash script or python script that I could use to achieve this? All suggestions welcome!
categories
├─movies
│ └─directors
│ ├─spielberg.ZIP
│ └─lucas.ZIP
│
├─literature
│ └─authors
│ ├─dickens.ZIP
│ └─austen.ZIP
╎
└─music
└─artists
├─ellington.ZIP
└─hendrix.ZIP
Roma
January 31, 2021, 11:29pm
2
Have you tried searching for "how do I unzip files recursively in macOS "?
There seem to be a few good hits with things you can try.
I was able to unzip the top directory using the following command:
find ./ -name \*.ZIP -exec unzip {} \;
But it does not unzip the zipped files inside subdirectories.
system
Closed
August 3, 2021, 2:53am
4
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.