No description
| launchd | ||
| scripts | ||
| .DS_Store | ||
| LICENSE | ||
| README.md | ||
SnapCleaner
SnapCleaner is a lightweight macOS tool that automatically deletes local Time Machine snapshots as soon as they are created.
It is designed for users who want to avoid local disk space being taken up by snapshots while still using Time Machine for external backups.
⚠️ Note: SnapCleaner has been tested on macOS Tahoe. Other versions may work, but are untested.
Features
- Monitors for new Time Machine local snapshots
- Deletes snapshots automatically once they appear
- Waits until Time Machine finishes the backup process before deleting
- Runs silently in the background as a LaunchDaemon
Installation
Clone the repository:
git clone https://git.lahmico.de/Pipo/snapcleaner.git
cd snapcleaner
Run the installer:
sudo ./install.sh
This will:
- Copy the script
auto-snapclean-listener.shto/usr/local/bin/ - Install the LaunchDaemon
auto-snapclean-listener.plistto/Library/LaunchDaemons/ - Load the service so it runs automatically whenever a local snapshot is created
Uninstallation
To uninstall SnapCleaner:
sudo ./uninstall.sh
This will remove the LaunchDaemon and the installed script.
License
SnapCleaner is released under the MIT License. See LICENSE for details.