diff options
author | Dave Reisner <d@falconindy.com> | 2010-01-17 20:25:34 -0500 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2010-01-17 20:25:34 -0500 |
commit | 0acba27e549951ee2e4fbbd41eb80438be1e5928 (patch) | |
tree | 4d70214bc4d7f2b37668bd4c2b45932a40307fe3 /squashfu | |
parent | 41c09161c890a53706e57279013716d28a28a2de (diff) | |
download | squashfu-0acba27e549951ee2e4fbbd41eb80438be1e5928.tar.gz |
Provide loading message for user while bins are sized
Diffstat (limited to 'squashfu')
-rwxr-xr-x | squashfu | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |