Tamaño de las instantáneas locales de Time Machine desde la línea de comandos

0

¿Hay alguna forma de (rápidamente) averiguar el tamaño de las instantáneas locales de Time Machine desde la línea de comandos?

Puedo enumerarlos

$ 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

Pero no encontré ningún verbo tmutil con respecto al tamaño.

Con du recibo muchos errores y lleva mucho tiempo

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 (Acerca de este Mac > Almacenamiento), obtengo la información en pocos segundos (por lo que debe estar almacenada en caché en algún lugar).

    
pregunta Matteo 15.02.2018 - 09:25

0 respuestas

Lea otras preguntas en las etiquetas