Improved Plan B scripts.

This commit is contained in:
Christian P. MOMON 2023-03-17 17:13:25 +01:00
parent b04e070f04
commit d488bec7b1
1 changed files with 2 additions and 0 deletions

View File

@ -35,6 +35,7 @@ cd $BORG_REPOS
ARCHIVE_COUNT=0 ARCHIVE_COUNT=0
REPO_COUNT=0 REPO_COUNT=0
echo "COMPUTER COUNT Original Compressed Deduplicat Last Diff Duration" echo "COMPUTER COUNT Original Compressed Deduplicat Last Diff Duration"
echo "-----------------------------------------------------------------------------------------------------------------------------"
for BORG_REPO in $(ls -d *.repo); do for BORG_REPO in $(ls -d *.repo); do
if [ -d "$BORG_REPO" ]; then if [ -d "$BORG_REPO" ]; then
#echo "== $BORG_REPO" #echo "== $BORG_REPO"
@ -58,6 +59,7 @@ for BORG_REPO in $(ls -d *.repo); do
ARCHIVE_COUNT=$((ARCHIVE_COUNT+COUNT)) ARCHIVE_COUNT=$((ARCHIVE_COUNT+COUNT))
fi fi
done done
echo "-----------------------------------------------------------------------------------------------------------------------------"
echo "Total repository count: "$REPO_COUNT echo "Total repository count: "$REPO_COUNT
echo "Total archive count: "$ARCHIVE_COUNT echo "Total archive count: "$ARCHIVE_COUNT
echo "Total disk size: "$(du -sh .) echo "Total disk size: "$(du -sh .)