- By default, it erases all backups older than 30 days. Adjust as desired.
$ ./tm-cleanup.py
This script must be run as root!
$ sudo ./tm-cleanup.py
Removing old Time Machine Backups for older than 30 days, 0:00:00
Deleting: /Volumes/Time Machine Backups/Backups.backupdb/****/2021-01-18-045413
Deleted (349.3M): /Volumes/Time Machine Backups/Backups.backupdb/****/2021-01-18-045413
Total deleted: 349.3M
Elapsed time: 0:28:55.890715
Finished!