From cc2dc2c0e4fe46e5a394967d6e71fe9b0b9627a5 Mon Sep 17 00:00:00 2001 From: Oliver Ladner Date: Wed, 13 Feb 2013 14:42:19 +0100 Subject: [PATCH] support for files/dirs with whitespace --- find_big_files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find_big_files.sh b/find_big_files.sh index 27b747e..10cc4fe 100755 --- a/find_big_files.sh +++ b/find_big_files.sh @@ -18,6 +18,6 @@ else DO_IT=`find $DIRS -size +$MIN_SIZE -print -exec ls -lha {} \; | grep -v '$EXCLUDE' | awk {'print $5"\t"$6" "$7" "$8'}` LOL=`echo $DO_IT | wc -l` if [ "$LOL" -gt "0" ]; then - echo $DO_IT + echo "$DO_IT" fi fi