CleanCompress is a macOS app that allows users to easily compress files and folders into a ZIP archive and clean out unwanted macOS-specific files such as __MACOSX
and .DS_Store
. This app provides a simple interface for managing ZIP files directly from the Finder toolbar.
- Compress: Select multiple files or folders and compress them into a ZIP archive.
- Clean: Automatically removes unnecessary files like
__MACOSX
and.DS_Store
from the ZIP archive. - Easy to Use: Integrates with Finder for quick access.
-
Clone the Repository:
git clone https://github.com/MohamedElashri/CleanCompress cd CleanCompress
-
Build the App:
Open the
CleanCompress
script in Script Editor:- Navigate to the project directory and open
CleanCompress.applescript
in Script Editor. - Compile the script to check for errors.
- Choose
File > Export
and set theFile Format
toApplication
. - Save the application with the name "CleanCompress" in your desired location.
- Navigate to the project directory and open
-
Add to Finder Toolbar:
- Open a Finder window.
- Drag the "CleanCompress" app into the Finder toolbar while holding the
Command
(⌘) key.
- Select Files/Folders: Click the "CleanCompress" icon in the Finder toolbar.
- Choose Items: A dialog will prompt you to select files or folders to compress and clean.
- Compression and Cleaning: The app will create a ZIP archive in the same directory as the selected items, using the name of the first selected item for the ZIP file.
- Notification: A notification will appear once the process is complete, indicating the archive has been cleaned.
This project is licensed under the MIT License - see the LICENSE file for details.
CleanCompress is provided "as-is" without any warranty. The authors are not responsible for any damage or data loss that may occur through the use of this application. Always ensure that you have backups of important data before using compression and cleaning tools.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you find any bugs or have suggestions for improvements.