Quantcast
Channel: How to view time machine log in MacOS Sierra? - Super User
Viewing all articles
Browse latest Browse all 8

Answer by mixel for How to view time machine log in MacOS Sierra?

$
0
0

Here's improved version of @JimRandell tm-log script:

#!/usr/bin/env bashLAST=${1:-3h}ARGS=( --style default --info --predicate 'processImagePath contains "backupd" and subsystem beginswith "com.apple.TimeMachine"' )log() {    /usr/bin/log "$@""${ARGS[@]}" | tr -s '' | sed 's/com.apple.TimeMachine://g' | cut -d'' -f 1,2,10-}log show --last $LASTlog stream

By default it shows Time Machine log for the last three hours and then waits for log messages. You can change default time period for last messages:

$ tm-log 12h

Viewing all articles
Browse latest Browse all 8

Latest Images

Trending Articles





Latest Images