Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

scottfreeman

macrumors newbie
Original poster
Jul 27, 2012
29
19
UK
Hi.

I have a large number of folders that I want to compress in to individual zip files for backup/archive reasons.

I can right-click on each folder and 'Compress', but this will take way too long and needs to be done periodically.

I'm pretty sure this is possible, but I'm just not finding the right combination of commands. Presumably, this is a job for a shell script or Automator.

Any help?
 

justperry

macrumors G5
Aug 10, 2007
12,557
9,750
I'm a rolling stone.
Does it need to be a zip, you can also create a DMG from a folder which contains all your folders with Disk Utility.
Or zip the Folder containing all folders you want to zip.
 

scottfreeman

macrumors newbie
Original poster
Jul 27, 2012
29
19
UK
It needs to be ZIP.

Imagine the following directory structure:

/Projects
--/One/
--/Two/
--/Three/

What I want to create is:
/Archive
--/One.zip
--/Two.zip
--/Three.zip
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.