**Function:** Zips the selected files as individual archives.
**Author**: [Automator World](http://www.automatorworld.com)
**Notes**: This workflow is saved as an Application. Dropping files/folders onto it will archive each individual file as a separate .zip file. Folders are *not* zipped, only the individual contents. Thanks to Jon Guymon for the shell script.
Is it possible to add an Encrypt option so that archives could be password protected?
Comment by Randy — August 5, 2007 @ 5:23 am
In Leopard this workflow now creates an archive that includes the full path folder structure from the root directory. How would one use this workflow to create an archive of selected files without the preceding folders(i.e. from the selection forward).
Comment by Jason Lazzara — December 5, 2007 @ 12:07 pm
I’m having the same problem. Does anyone know a way to not have all of the preceding folders.
Comment by Curt — February 28, 2008 @ 6:19 pm
i dragged and dropped some widgets to the app and it ran without any error. however i dont see my zip archives either in the original widget folder or where the app is stored. any advice?
Comment by AceNeerav — November 3, 2008 @ 8:04 am
To get around the directory structure problems:
1) Start Automator
2) Create a custom script (if it asks you)
3) Drag the “Ask for Finder Items” action to the work area (Be sure to check the box for “Allow Multiple Selection”)
3) Drag the “Run Applescript” action to the work area
4) Enter the following AppleScript:
on run {input, parameters}
— create a PKZip archive of the selected Finder item(s)
— if no destination folder is specified, the archive will be placed in the same location
— input: a list of Finder items to archive
— output: a list of Finder items archived
end run
5) Click File->Save As-> Application
6) Run the Application that you just created.
TB
Comment by Todd Brown — May 11, 2009 @ 8:52 am
Works perfectly for me. Thank you Todd!
Comment by francesca — June 1, 2010 @ 5:25 am