brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: tmutil deletelocalsnapshots removes one local Time Machine snapshot by date

Terminal
~/tips/tip-macos-tmutil-deletelocalsnapshots

sudo tmutil deletelocalsnapshots 2026-11-30-120000

Deletes the local Time Machine snapshots for one date from Terminal to free disk space.

Local snapshots are copies Time Machine keeps on the Mac itself. Usually macOS cleans them up when space runs low. If you want that space back now, you can delete a snapshot yourself.

sudo tmutil deletelocalsnapshots 2026-11-30-120000

The argument is a date in the form YYYY-MM-DD-HHMMSS. The man page says that with a date, it deletes all local snapshots on all mounted disks for that date. You can get the dates from tmutil listlocalsnapshots /, which prints a snapshot name that contains the date.

The man page says the command takes either a mount point or a date. Use the date form when you want to remove one snapshot and keep the rest.

The caveat is that this is permanent. A deleted snapshot is gone, and it was the thing that let you roll back files from that moment without the backup disk. Several tmutil verbs need root and Full Disk Access, so use sudo and allow Full Disk Access for your terminal app if it is refused. If the goal is only more free space, tmutil thinlocalsnapshots lets macOS pick what to drop.

Further reading: tmutil man page

More Terminal tips ioreg -rn AppleSmartBattery | grep CycleCount Terminal can save your windows and tabs as a window group Export a Terminal profile to a .terminal file and import it on another Mac mc hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}' All Terminal tips (116) All topics

Link