-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't seem to work on Sonoma #11
Comments
In Sonoma this line has to be changed to:
I do not have previous macOS to test if this would work for older OS versions or has to be made conditional. |
Thank you, Kapitainsky! Can I ask if you're using APFS for HFS+ for your TM backup? I'm using APFS and found that I need to change the tmutil delete command. ~$ tmutil machinedirectory ~$ sudo tmutil delete -t 2024-02-15-151647 -d "/Volumes/TM Encrypted SSD" I only have APFS TM backups, so I cannot test to see if it would be the same command for HFS+ TM volumes. |
I've updated the script to work with Sonoma and APFS TM backups in this repo. I don't have HFS+ to test against, but suggest code to make it work for either FS in Changes.md. |
No matter what option I use, the script errors out.
OS: macOS 14.4.1 23E224 x86_64, Kernel: 23.4.0
It seems like there may be a change in what's returned from tmutil(8). Here's the output
~/Documents/src/Time-Machine-Cleanup$ sudo tm-cleanup.sh -d 30
Unexpected snapshot name: 2024-02-15-151647.backup.
Aborting.
The text was updated successfully, but these errors were encountered: