I have a folder full of zipped files (about 200). I just want to convert it to a folder of unzipped files, what would be the fastest and fastest way to do this?
Please note that after opening it I would like to remove the zip file from the folder.
Besides, I'm on the Mac.
Thank you!
You can do something like this:
`ls *. For file in zip`; Unzip -f $ file; RM $ file; We are looping into the directory in all zip files, unzipping it and then deleting it.
Note that you need to run one-line command above the command line; The option of This is equivalent to one line from the directory containing all the zip files: zip will overwrite any file without any prompt.
for the file in `ls * .zip` # ls * The zip contains a list of all the zip files .. Repeat one by one from that list. For each file in the list, do the following: unzip -f $ file # Unzip the file RM $ file # delete it
Comments
Post a Comment