# given a path, this will find how many items are under it, ignoring svn and git files.
function calculate_depth()
# given a path, this will find how many items are under it, ignoring svn and git files.
function calculate_depth()
# source examples need to be sucked into other places, other codebases. they are not
# supposed to pile up here.
# source examples need to be sucked into other places, other codebases. they are not
# supposed to pile up here.
# the list files are web documents with to-do lists. individual items are marked with <li>.
item_depth=$(find ~/cloud/grunty_notes/ -type f -iname "*.html" -exec grep "<li" "{}" ';' | wc -l | tr -d ' ')
# the list files are web documents with to-do lists. individual items are marked with <li>.
item_depth=$(find ~/cloud/grunty_notes/ -type f -iname "*.html" -exec grep "<li" "{}" ';' | wc -l | tr -d ' ')