If you see a security warning when trying to open Mac File Cleanup.app, macOS is blocking the unsigned app. Follow these steps to allow it.
Note for Intel Mac users: If the app won't open even after following the security steps below, you may have an older build that only supports Apple Silicon (M1/M2). The current build script produces a universal app that works on both Intel and Apple Silicon Macs. If you're on an Intel Mac and the app doesn't work, see the build instructions in the README to build the app yourself using ./scripts/build_gui_mac.sh.
-
Download and unzip
Mac-File-Cleanup.zipto getMac File Cleanup.app -
Try to open the app by double-clicking
Mac File Cleanup.app(you'll see a security warning) -
Open System Settings:
- Click the Apple menu (🍎) in the top-left corner
- Select System Settings (or System Preferences on older macOS versions)
-
Go to Privacy & Security:
- In the sidebar, click Privacy & Security
- Scroll down to the Security section
-
Click "Open Anyway":
- You should see a message about
Mac File Cleanup.appbeing blocked - Click the "Open Anyway" button next to the message
- You should see a message about
-
Confirm in the popup:
- A popup window will appear asking you to confirm
- Click "Allow Anyway" (or "Open" depending on your macOS version)
-
Run the app:
- After confirming, you can now double-click
Mac File Cleanup.appnormally - The app will open and launch the web UI in your browser
- After confirming, you can now double-click
Note: You only need to do this once. After the first run, you can double-click the app normally without any security prompts.
If you prefer using Terminal, you can remove the quarantine attribute:
# Option 1: Navigate to the app's directory first
cd ~/Downloads # or wherever you unzipped the app
xattr -d com.apple.quarantine "Mac File Cleanup.app"
# Option 2: Use the full path (replace ~/Downloads with your actual path)
xattr -d com.apple.quarantine "~/Downloads/Mac File Cleanup.app"Option 3 (drag and drop): Type xattr -d com.apple.quarantine (with a space at the end), then drag Mac File Cleanup.app from Finder into Terminal, and press Enter.
If you're using an Intel Mac and the app won't open even after following the security steps above, you may have an older build that only supports Apple Silicon (M1/M2).
Solution: Build the app yourself to get a universal version that works on both Intel and Apple Silicon:
- See the build instructions in the README
- Run
./scripts/build_gui_mac.shto build a universal app - The built app will be in
dist/Mac File Cleanup.app
The current build script produces a universal (Intel + Apple Silicon) app, so if you build it yourself, it will work on your Intel Mac.
macOS Gatekeeper blocks apps that aren't signed with an Apple Developer ID certificate. Since this is an open-source tool distributed via GitHub, it's not signed. The steps above tell macOS that you trust the app and want to run it.