From 8490b77acfc3016363225dccc602e6883ad343a6 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 17 Aug 2007 15:14:49 +0200 Subject: [PATCH] Add -s to du --- tools/gnu-du-backup-size-compare.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/gnu-du-backup-size-compare.sh b/tools/gnu-du-backup-size-compare.sh index 4a199dc..85b876b 100755 --- a/tools/gnu-du-backup-size-compare.sh +++ b/tools/gnu-du-backup-size-compare.sh @@ -28,5 +28,6 @@ cd "${CCOLLECT_SOURCES}" while [ "$#" -gt 0 ]; do source="$1"; shift fsource="${CCOLLECT_SOURCES}/${source}" - du "${fsource}/"* "${fsource}" + du -s "${fsource}/"* "${fsource}" + # du -l should follow done