How to compress a bunch of folders to their own zip file?
July 7, 2008 9:22 AM Subscribe
Is there an automated script or program to create a separate zip file for each directory?
I have around 100 folders within "C:\Projects", and I would like to take each of those folders, and compress them into their own zip file:
Example:
C:\Projects\Folder1\ -> C:\Projects\Folder1.zip
The folder's are all different names, so I can't make an easy loop script (i.e. loop from Folder1 to Folder100)
Is there an automated script, or program that I can just select the root directory (C:\Projects), and it will loop through and convert all the directories for me without me having to manually select or type out all the directory names?
posted by niwnfyc to computers & internet (4 answers total) 3 users marked this as a favorite
Highlight all the thing you'd like to zip, Tools | Command Script | "zip $N" and you're good to go. (or whatever command-line compression utility you'd like to use...)
posted by unixrat at 9:30 AM on July 7, 2008