2 # these metrics are how bogged down we are in to-do type items.
4 REPORT_FILE="$HOME/quartz/history_info_overload.txt"
6 # notes are individual files of tasks, usually, although some are combined.
7 note_depth=$(find ~/quartz/grunty_notes/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l)
9 # projects are slightly more productive, ongoing things that are very active.
10 project_depth=$(find ~/quartz/projects/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l)
12 # source examples need to be sucked into other places, other codebases. they are not
13 # supposed to pile up here.
14 source_example_depth=$(find ~/quartz/example_source_code/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | grep -v "inova_legacy" | wc -l)
17 #hmmm: need the counter of things in the html files back too.
18 # those are doc'd in the notes about refactoring notes?
20 total_overload=$(($note_depth + $project_depth + $source_example_depth))
21 #hmmm: don't forget to add others.
25 We have studied your information overload and find that there are:\n\
26 $note_depth note files\n\
27 $project_depth project files\n\
28 $source_example_depth source examples\n\
30 $total_overload total items\n\
31 Gathered On: $(date)\n\
35 echo -e "$report" | tee -a "$REPORT_FILE"