made less specific for project and research patterns.
authorChris Koeritz <fred@gruntose.com>
Wed, 4 Apr 2012 12:59:00 +0000 (08:59 -0400)
committerChris Koeritz <fred@gruntose.com>
Wed, 4 Apr 2012 12:59:00 +0000 (08:59 -0400)
need to make this script more generic.

scripts/notes/info_overload_report.sh

index 19fa157b7251e0106fcc5d4a2697e4e78627a7a8..776e02e0d0c9304108c21c947062e606f43e82ce 100644 (file)
@@ -28,7 +28,7 @@ item_depth=$(find ~/quartz/grunty_notes/ -type f -iname "*.html" -exec grep "<li
 
 # scan across all appropriately named folders in our folders that live in the "cloud".
 cloud_depth=0
-for i in ~/cloud/project-* ~/cloud/research-*; do
+for i in ~/cloud/*project* ~/cloud/*research*; do
   temp_depth=$(calculate_depth $i)
   cloud_depth=$(($cloud_depth + $temp_depth))
 done