Last active
August 30, 2015 17:27
-
-
Save benzimmer/91bed97b1801c3e1a6f1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Remove point in time backups from timemachine | |
# First mount timemachine volume (for example open Time Machine.app) | |
sudo tmutil delete /Volumes/Time Machine Backups/Backups.backupdb/$(MACHINE_NAME)/$(DATE) | |
# If you have your backups stored in a sparsebundle you can reclaim the freed space with this: | |
sudo hdiutil compact $(DISK_IMAGE_PATH) | |
# Use this if you are on battery and receive a odd warning from the command above ;) | |
sudo hdiutil compact $(DISK_IMAGE_PATH) -batteryallowed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment