Improve target/ cache logging

This commit is contained in:
Michael Vines
2019-05-12 21:28:12 -07:00
parent 06378d6db6
commit 426d06b89b
2 changed files with 8 additions and 2 deletions

View File

@ -10,6 +10,8 @@
set -x
rsync -a --delete --link-dest="$PWD" target "$d"
du -hs "$d"
read -r cacheSizeInGB _ < <(du -s --block-size=1800000000 "$d")
echo "--- ${cacheSizeInGB}GB: $d"
)
#