From 0acba27e549951ee2e4fbbd41eb80438be1e5928 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Sun, 17 Jan 2010 20:25:34 -0500 Subject: Provide loading message for user while bins are sized --- squashfu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/squashfu b/squashfu index 0ae8c65..ed419d8 100755 --- a/squashfu +++ b/squashfu @@ -320,7 +320,9 @@ action_report () { OLDIFS=$IFS;IFS=${IFS}: # Collect all data into an array to 'preload' it. Index 0 is the entire # folder. The following indicies correspond to the bin number of that index + printf "%30s\r" " .: Loading :." DATA=($(du -sh ${BINS_DIR} ${BINS_DIR}/* 2>/dev/null | awk '{print $1}')) + printf "%30s\r" " " printf "%10s\t%25s\t%7s\n" "Bin ID" "Date Created" "Size" grep -vE "^[\t ]*$" "$BINVENTORY" | sort -r -t: -k2 -n | while read bin stamp; do -- cgit v1.2.3