box data is separate from mail data already

This commit is contained in:
Girish Ramakrishnan
2022-10-12 11:59:28 +02:00
parent 4a3d85a269
commit 4fe0402735
2 changed files with 5 additions and 12 deletions

View File

@@ -18,12 +18,6 @@ if [[ "$1" == "--check" ]]; then
fi
path="$1"
exclude="${2:-}"
# -B1 makes du print block sizes and not apparent sizes (to match df which also uses block sizes)
if [[ -z "${exclude}" ]]; then
du -DsB1 "${path}"
else
du -DsB1 "${path}" --exclude "${exclude}"
fi
du -DsB1 "${path}"