From 7f894613e3f3a95c7d4c71f6cf2138f01d5fa2d4 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sat, 21 Jan 2023 16:31:10 +0100 Subject: [PATCH] Plan borg: updates (step). --- Plan Borg/bin/doreport | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Plan Borg/bin/doreport b/Plan Borg/bin/doreport index 1b56d8c..8cbbfce 100755 --- a/Plan Borg/bin/doreport +++ b/Plan Borg/bin/doreport @@ -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))