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 | tr -d ' ')
9 # the list files are web documents with to-do lists. individual items are marked with <li>.
10 item_depth=$(find ~/quartz/grunty_notes/ -type f -iname "*.html" -exec grep "<li" "{}" ';' | wc -l | tr -d ' ')
12 # projects are slightly more productive, ongoing things that are very active.
13 project_depth=$(find ~/quartz/projects/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l | tr -d ' ')
15 # source examples need to be sucked into other places, other codebases. they are not
16 # supposed to pile up here.
17 source_example_depth=$(find ~/quartz/example_source_code/ -type f -exec echo \"{}\" ';' | grep -v "\.svn" | grep -v "\.git" | wc -l | tr -d ' ')
19 total_overload=$(($note_depth + $item_depth + $project_depth + $source_example_depth))
23 Current information overload consists of:\n\
25 $note_depth\tnote files\n\
26 $item_depth\tto-do list items\n\
27 $project_depth\tproject files\n\
28 $source_example_depth\tsource examples\n\
30 $total_overload\ttotal items\n\
32 Gathered On: $(date)\n\
36 echo -e "$report" | tee -a "$REPORT_FILE"