Created
January 31, 2019 01:09
-
-
Save Kr0n0/a98eb5141cd3d98458652aa8f9189148 to your computer and use it in GitHub Desktop.
Delete local APFS Snapshots (OSX)
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
#!/bin/sh | |
for LISTA in $(tmutil listlocalsnapshots / | cut -d'.' -f 4); | |
do | |
sudo tmutil deletelocalsnapshots $LISTA | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment