X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fagenda%2Finfo_overload_report.sh;h=1812d87e7cafed0deda6c319922b6a71980e67b2;hb=489eefa5c0460406dee8b369e3b7bfca142bd0e5;hp=b4ad7388d9d83bb9bcc178c0cb4d9c557a3b0046;hpb=3dfc0d0235dec63239223aac39ce3ef5f692fbae;p=feisty_meow.git diff --git a/scripts/agenda/info_overload_report.sh b/scripts/agenda/info_overload_report.sh index b4ad7388..1812d87e 100644 --- a/scripts/agenda/info_overload_report.sh +++ b/scripts/agenda/info_overload_report.sh @@ -32,7 +32,7 @@ function calculate_weight() function calculate_complexity() { local dir="$1"; shift - local complexity=$(find "$dir" -type d | wc -l) + local complexity=$(find "$dir" -type d | wc -l | tr -d ' ') if [ -z "$complexity" ]; then echo 0; else echo "$complexity"; fi } @@ -115,7 +115,7 @@ full_report+="count\tcomplexity\tweight (kb)\tcategory\n\ #hmmm: don't fail if the hierarchy doesn't exist. # high priority stuff would be called urgent. -analyze_hierarchy_and_report $CLOUD_BASE/urgent "high priority (aieeee!)" +analyze_hierarchy_and_report $CLOUD_BASE/aaa_priority "high priority (aieeee!)" # notes are individual files of tasks, usually, although some are combined. analyze_hierarchy_and_report $CLOUD_BASE/grunty* "grunty (external facing) notes" @@ -146,16 +146,16 @@ analyze_hierarchy_and_report $CLOUD_BASE/reading "reading list (for a quiet afte analyze_by_dir_patterns "life's work and other oddities" $CLOUD_BASE/vocation* # scan all the items declared as active projects. -analyze_by_dir_patterns "active issues" $CLOUD_BASE/active* +analyze_by_dir_patterns "active issues" $CLOUD_BASE/*active* # rub alongside all the travel notes to see if any have interesting burrs. analyze_by_dir_patterns "travel plans" $CLOUD_BASE/walkabout* # scan across all appropriately named project or research folders. -analyze_by_dir_patterns "running projects" $CLOUD_BASE/project* $CLOUD_BASE/research* +analyze_by_dir_patterns "running projects" $CLOUD_BASE/*project* $CLOUD_BASE/*research* # look for our mad scientist style efforts. -analyze_by_dir_patterns "lab experiments" $CLOUD_BASE/experiment* +analyze_by_dir_patterns "lab experiments" $CLOUD_BASE/*experiment* # snag any work related items for that category. analyze_by_dir_patterns "jobby work tasks" $CLOUD_BASE/job*