Delete local Time Machine snapshots / backups from macOS

If you need to free up some space and you are definitely sure that there could be nothing important / indispensable within your local Time Machine snapshots / backups, then issue the following command to regain the disk space consumed by them:

for d in $(tmutil listlocalsnapshotdates | grep "-"); do sudo tmutil deletelocalsnapshots $d; done

Thanks for reading! Please consider Buying me a Coffee or checking out Colibri!