clean-zip-mac
v1.0.0
Published
Create ZIP archives without macOS junk files (.DS_Store, __MACOSX, ._*). Includes Finder Quick Action.
Downloads
99
Maintainers
Readme
clean-zip-mac
Create ZIP archives without macOS junk files (.DS_Store, __MACOSX, ._* resource forks).
Works as a Finder Quick Action (right-click menu) and as a CLI tool.
Install
npm install -g clean-zip-macThe Finder Quick Action installs automatically. You just need to enable it:
System Settings → General → Login Items & Extensions → Finder → enable "Clean Zip"
Usage
Finder (right-click)
Right-click any file or folder → Quick Actions → Clean Zip
CLI
clean-zip ./my-project # Creates my-project.zip
clean-zip file1.txt folder1 # Creates separate ZIPs for each itemManage Quick Action
clean-zip --install-quick-action # Install/reinstall Finder Quick Action
clean-zip --uninstall-quick-action # Remove Finder Quick ActionWhat gets excluded
| Pattern | Description |
|---------|-------------|
| .DS_Store | Finder metadata |
| __MACOSX | Resource fork container |
| ._* | AppleDouble resource forks |
| .Spotlight-V100 | Spotlight index |
| .Trashes | Trash metadata |
| .fseventsd | File system events |
| Thumbs.db | Windows thumbnail cache |
| desktop.ini | Windows folder settings |
All patterns work recursively across all subdirectory levels.
Uninstall
clean-zip --uninstall-quick-action
npm uninstall -g clean-zip-macLicense
MIT
