Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save elijahtsai/58a2c97d0c4ff743be2c52c66886276a to your computer and use it in GitHub Desktop.
Save elijahtsai/58a2c97d0c4ff743be2c52c66886276a to your computer and use it in GitHub Desktop.
All tmutil arguments
enable
disable
startbackup
stopbackup
delete
restore
compare
setdestination
removedestination
destinationinfo
mountdestination
addexclusion
removeexclusion
isexcluded
inheritbackup
associatedisk
latestbackup
listbackups
machinedirectory
calculatedrift
uniquesize
verifybackups
verifychecksums
currentphase
status
quickcheckimage
lockdb
modernize
logging
localsnapshot
mountlocalsnapshots
unmountlocalsnapshots
listlocalsnapshots
listlocalsnapshotdates
deletelocalsnapshots
sizelocalsnapshotsof
thinlocalsnapshots
@varenc
Copy link

varenc commented Dec 2, 2022

Thanks! I assume you got this by running strings on the tmutil binary?

As of Monterey 12.6.1, the hidden/undocumented verbs have changed a bit. Here's what strings currently reveals:

enable
disable
startbackup
stopbackup
delete
deleteinprogress
restore
compare
setdestination
removedestination
destinationinfo
mountdestination
addexclusion
removeexclusion
isexcluded
inheritbackup
associatedisk
latestbackup
listbackups
machinedirectory
calculatedrift
verifybackups
verifychecksums
currentphase
status
lockdb
modernize
logging
localsnapshot
mountlocalsnapshots
unmountlocalsnapshots
listlocalsnapshots
listlocalsnapshotdates
deletelocalsnapshots
sizelocalsnapshotsof
thinlocalsnapshots

'unique' and 'quickcheckimage' have been removed 'deleteinprogress' was added.

I still find mountlocalsnapshots and unmountlocalsnapshots very useful. Lets me poke around the snapshots without having to use the Time Machine interface at all. Cheers!

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