Skip to content

Instantly share code, notes, and snippets.

@protrolium
Last active December 7, 2021 00:54
Show Gist options
  • Save protrolium/ce829c3d622767f627fca67fb99af06b to your computer and use it in GitHub Desktop.
Save protrolium/ce829c3d622767f627fca67fb99af06b to your computer and use it in GitHub Desktop.
ways of clearing local hd of unwanted storage build-up

tmutil listlocalsnapshotdates / |grep 20|while read f; do tmutil deletelocalsnapshots $f; done

Wait until it's done deleting the local snapshots. Restart your computer and it will create a new local snapshot.

Alternatively:

tmutil listlocalsnapshots /

and with

tmutil thinlocalsnapshots / 9999999999 1

you can delete all local snapshots and release the storage space.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment