Unzipping multiple files in a directory on MAC OSX
I can neither confirm nor deny the fact that from time to time I might allegedly download TV shows or movies from the internetz.
Theoretically when one would supposedly do this, one might be presented with a directory full of zip files:
HypotheticalTVSHOW1.zip
HypotheticalTVSHOW2.zip
HypotheticalTVSHOW3.zip
HypotheticalTVSHOW4.zip
HypotheticalTVSHOW5.zip
If one should stumble upon this situation. Rather than double-clicking each *.zip file (which most of the time creates folders for each file extracted)… you can run a command via Terminal which will extract all the files in the same directory. So.. fire up Terminal and navigate to the directory where all the zip files are stored.
Theoretically in this case, I might have them stored in a zip folder on my desktop.
cd “/Users/critter/Desktop/zips” [Return]
Once there you just need to type this:
unzip \*.zip [Return]
You will then be presented (if there are any duplicate files being uncompressed with the following:
replace duplicatefile.avi? [y]es, [n]o, [A]ll, [N]one, [r]ename:
Just type either ‘y‘, ‘n‘, ‘A‘, ‘N‘, or ‘r‘ and hit [Return]
done.. if that’s what might possibly, sorta, kinda be happening.
Allegedly.
