Skip to main content
Legend
August 11, 2023
Question

Bridge beta - zip command using zip instead of ditto on Mac

  • August 11, 2023
  • 0 replies
  • 215 views

Bridge beta 14.0.0.57 - MacOS Monterey 12.6.8

 

It appears that you have implemented the compress command using the commandline zip tool instead of ditto. This is poor behavior and inconsistent with how the Finder does compression.

Zip simply aggregates files and does not (for example) preserve resource forks or save the folder hierarchy. Ditto will preserve Mac-specific metadata, resource forks, and will create a folder that preserves the folder heirarchy. The macOS Finder uses ditto, NOT zip.

Admittedly, using ditto is more work. The coder must create a BOM text file, use mkbom to save into a valid BOM binary file, then specify that as an argument to ditto. However, laziness shouldn't determine how this feature is implemented.

Creating a zip file from files in a collection simply dumps them into an archive on the Desktop, that unzips to a folder with those files.

This topic has been closed for replies.