![]() ![]() I just know the other super-complicated ones didn't work, but this one did for me, so here it is for posterity. I know it could be made fancier by defining variables and stuff, but to be honest, I'm not that well-versed in shell scripts. In the scripts below, replace DISKNAME with the name of the hard disk with the Time Machine backups and COMPUTERNAME with the name of the computer that the backups belong to.įirst, run this script to see a list of the backups the script will delete: while read line doĮcho "/Volumes/DISKNAME/Backups.backupdb/COMPUTERNAME/$"ĭone < <(ls /Volumes/DISKNAME/Backups.backupdb/COMPUTERNAME | tail -r | tail -n +3) Never run out of space, because BackupLoupe will predict when your backup drive is likely. I had to write my own because the backups are not associated with this computer, so tmutil listbackups doesn't work, and that's what other scripts depended on. BackupLoupe for Mac is your Swiss Army Knife for Time Machine. This script assumes that you have it on a local hard disk (an external disk, most likely). Please not that this does not apply to deleting specific folders or files from backups. I know you didn't want to specifically do that, but it can be modified to keep more backups (see below). I wrote a bash script to delete all the backups but the latest since the ones posted elsewhere didn't work for me. This tool has helped me figure out problematic backup drives, Macs with filesystem corruption (when each backup is larger than it should, etc…) Once you have visibility on what's being stored, you can delete folders, entire snapshots and configure your backup exclusion lists to be in harmony with your available storage and backup needs. ![]() With that level of detail, you can curate your storage needs as little or with as much detail as the situation requires. Next, you can use a tool like BackupLoupe to analyze your Time Machine backups to identify how much space each interval used, how much space your average backup takes, how long it will be to fill the drive at the current rate, etc… Be sure to only delete files you are sure you won't need or want to restore later. To do this, select the file(s) and from the Action pop-up menu (gear icon) in the Time Machine Finder window choose "Delete All Backups of.". You can also enter the Time Machine restore interface and find files that can be removed from the backup drive itself to conserve space. BackupLoupe on M1 Macbook Pro, BackupLoupe on M1 Mac Mini, BackupLoupe on M1 iMac. Even without shell tools, you can micromanage storage from the Time Machine GUI as follows - quoting Apple's article on Mac Basics: Time Machine: Support status of BackupLoupe on Apple Silicon Macs and Apple M1. The command line tmutil compare also gives exhaustive detail of what changed between backup intervals if you don't mind using the terminal and a UNIX shell. (1) Apps downloaded from the App Store : Click the Launchpad icon in the Dock, and search for the app in Launchpad interface. You can simply enter Time Machine and select folders, apps, and files and select to delete all backup copies of that item. Additionally, if BackupLoupe 2.10 comes with a built-in uninstaller, or it was installed via the Mac App Store, there is an alternative way you can take to perform the uninstallation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |