C'è un modo per (velocemente) scoprire la dimensione delle istantanee locali di Time Machine dalla riga di comando?
Posso elencarli
$ tmutil listlocalsnapshots /
com.apple.TimeMachine.2018-02-14-104557
com.apple.TimeMachine.2018-02-14-160009
com.apple.TimeMachine.2018-02-14-182704
com.apple.TimeMachine.2018-02-14-203310
com.apple.TimeMachine.2018-02-14-212838
com.apple.TimeMachine.2018-02-14-222703
com.apple.TimeMachine.2018-02-14-233021
com.apple.TimeMachine.2018-02-15-002833
com.apple.TimeMachine.2018-02-15-012709
com.apple.TimeMachine.2018-02-15-022703
com.apple.TimeMachine.2018-02-15-032704
com.apple.TimeMachine.2018-02-15-042703
com.apple.TimeMachine.2018-02-15-052703
com.apple.TimeMachine.2018-02-15-062704
com.apple.TimeMachine.2018-02-15-072832
com.apple.TimeMachine.2018-02-15-082706
Ma non ho trovato nessun verbo tmutil
riguardante la dimensione.
Con du
ottengo molti errori e ci vuole un sacco di tempo
sudo du -hs /Volumes/com.apple.TimeMachine.localsnapshots/
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/db/ConfigurationProfiles/Store: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/5n/5z9scwyj25b37mkqg3ltgx0m0000gq/0/com.apple.LaunchServices.dv: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/sq/sb7jrfk14qv7yyh9z55mszp40000gn/0/SafariFamily: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/sq/sb7jrfk14qv7yyh9z55mszp40000gn/0/com.apple.LaunchServices.dv: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/sq/sb7jrfk14qv7yyh9z55mszp40000gn/0/com.apple.nsurlsessiond: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/sq/sb7jrfk14qv7yyh9z55mszp40000gn/0/com.apple.routined: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/2f/7t6rd_vd2jnc0twnyb2bltvr0000gp/0/com.apple.LaunchServices.dv: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/37/__tp_5v96bx012sqphn10wlm0000gr/0/com.apple.LaunchServices.dv: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/zz/zyxvpxvq6csfxvn_n00000y800007k/0/com.apple.nsurlsessiond: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/gy/k8z6qc3d4pndcgqrlqjqylrh0000gs/0/com.apple.LaunchServices.dv: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/gy/k8z6qc3d4pndcgqrlqjqylrh0000gs/0/com.apple.nsurlsessiond: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/gy/k8z6qc3d4pndcgqrlqjqylrh0000gs/0/com.apple.routined: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/cl/4p6t853n0nd2wmx7q3ljvrnh0000gt/0/SafariFamily: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/cl/4p6t853n0nd2wmx7q3ljvrnh0000gt/0/com.apple.LaunchServices.dv: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/cl/4p6t853n0nd2wmx7q3ljvrnh0000gt/0/com.apple.nsurlsessiond: Operation not permitted
du: /Volumes/com.apple.TimeMachine.localsnapshots//Backups.backupdb/Matteo Corti’s MacBook Pro/2018-02-15-002833/Macintosh HD/private/var/folders/cl/4p6t853n0nd2wmx7q3ljvrnh0000gt/0/com.apple.routined: Operation not permitted
^C
Con la GUI (Informazioni su questo Mac > Storage) ottengo le informazioni in pochi secondi (quindi deve essere memorizzato nella cache da qualche parte).