Continuing the discussion from How Do I Create Zip File in AppleScript and Retain Finder Tags?:
Thanks to @ShaneStanley, I learned how to compress ONE file, or ONE folder, and retain resources/attributes. However, I also have a need to compress multiple files, not in the same folder.
For example, I do a Finder Spotlight Search across my entire Mac, and I select a few files in different folders. I want to create a zip file of this selection. It is easy enough via AppleScript to get a list of the paths of these files, but how do I compress them into one zip file?
After considerable research, here is what I have found:
dittowll retain resources, but has no provision for the
sourceto be a list of files.
zipeasily handles a list of files, but does not retain resources.
How Do I Compress (Zip) Multiple Files AND Retain Resources/Attributes?