X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;ds=inline;f=scripts%2Fnotes%2Finfo_overload_report.sh;h=6e7c88515d7273bfb343de431406ab040af4677b;hb=c7498da918e9707b5fe8490236bbd64d8f35fc5b;hp=d9275efa85a5513f3a00832dbd83519db507f93a;hpb=d18cd8304c44b5a0eb7e8d4399685a924c6f51fb;p=feisty_meow.git diff --git a/scripts/notes/info_overload_report.sh b/scripts/notes/info_overload_report.sh index d9275efa..6e7c8851 100644 --- a/scripts/notes/info_overload_report.sh +++ b/scripts/notes/info_overload_report.sh @@ -1,37 +1,121 @@ # these metrics are how bogged down we are in to-do type items. -REPORT_FILE="$HOME/quartz/history_info_overload.txt" +REPORT_FILE="$HOME/cloud/overload_history.txt" -# notes are individual files of tasks, usually, although some are combined. -note_depth=$(find ~/quartz/grunty_notes/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l | tr -d ' ') +# given a path, this will find how many items are under it, ignoring svn and git files, plus +# other patterns we happen to notice are not useful. +function calculate_depth() +{ + local dir="$1"; shift + find "$dir" -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git"| grep -v "\.basket" | grep -v "\.version" | grep -v "\.keep" | wc -l | tr -d ' ' +} -# the list files are web documents with to-do lists. individual items are marked with