Created
September 8, 2014 20:07
-
-
Save joeworkman/b63207574233afb5a3ae to your computer and use it in GitHub Desktop.
Cleanup Time Machine Backups older than 90 days
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
# You need the put in the full path to the directory that has your backups | |
# This directory will have a bunch of folders that are named with dates | |
sudo find "/Volumes/Full Path/To Backup/Directory" -type d -ctime +90 -maxdepth 1 -exec tmutil delete {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment