Skip to content

Commit 1c3be9f

Browse files
committed
MSF-233 - Monitor directory size.
1 parent b03cc38 commit 1c3be9f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

monitor_directory_size.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ directory="$1"
44
if test -e "$directory"; then
55

66
size=$(sh get_directory_size.sh "$directory")
7-
printf "\r "
8-
printf "%s, $size"
7+
printf "%s" "$size"
98
sleep 3
10-
sh monitor_directory_size.sh "$directory"
9+
printf "\r"
10+
sh ./"$0" "$directory"
1111
else
1212

1313
echo "ERROR: Directory does not exits"

0 commit comments

Comments
 (0)