Created
November 6, 2018 13:05
-
-
Save srmds/b93d4381c370258e87e50b87f7fd17df to your computer and use it in GitHub Desktop.
Delete all timemachine localsnapshots
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
for date in $(tmutil listlocalsnapshots / | perl -pe 's/com.*(2018.*)/\1/'); do echo "deleting $date"; sudo tmutil deletelocalsnapshots "$date"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment