first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / scripts / notes / info_overload_report.sh
1
2 # these metrics are how bogged down we are in to-do type items.
3
4 REPORT_FILE="$HOME/quartz/history_info_overload.txt"
5
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 | wc -l)
8
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 | wc -l)
11
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 | wc -l)
15
16
17 #hmmm: need the counter of things in the html files back too.
18 #      those are doc'd in the notes about refactoring notes?
19
20 total_overload=$(($note_depth + $project_depth + $source_example_depth))
21 #hmmm: don't forget to add others.
22
23 report="\
24 \n\
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\
29   -------\n\
30   $total_overload total items\n\
31 Gathered On: $(date)\n\
32 ##############\n\
33 "
34
35 echo -e "$report" | tee -a "$REPORT_FILE"
36