Plan borg: updates (step).

This commit is contained in:
Christian P. MOMON 2023-01-21 16:31:10 +01:00
parent 6d855fba97
commit 7f894613e3
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ for BORG_REPO in $(ls -d *.repo); do
SIZES="${SIZE_LINE:13}"
DURATION=$(borg info "${BORG_REPO}::${LAST}" | grep Duration)
DURATION=${DURATION:10}
DURATION=${DURATION/ minutes / min }
DURATION=${DURATION/ seconds/ s}
printf "%-40s %2d %s %s %s\n" "$COMPUTER" "$COUNT" "$LAST" "$SIZES" "$DURATION"
ARCHIVE_COUNT=$((ARCHIVE_COUNT+COUNT))