Created
January 15, 2020 10:11
-
-
Save jpmens/032973be3d0cff162cb9c09f99ab369a to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
tmutil listlocalsnapshots / | | |
grep TimeMachine | | |
sed -e 's|^com\.apple\.TimeMachine\.||' -e 's|\.local.*||' | | |
while read snap; do tmutil deletelocalsnapshots $snap; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment