Created
January 18, 2019 16:12
-
-
Save agassner/463b15ee6b63492d32034d7b6d138137 to your computer and use it in GitHub Desktop.
Delete old MacOS Time Machine backups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo tmutil listbackups | grep 2018 | xargs -I {} sudo tmutil delete '{}' | |
sudo hdiutil compact /Volumes/TimeMachine/YourBackup.sparsebundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment