Skip to content

Instantly share code, notes, and snippets.

@AdrienLemaire
Created May 21, 2011 10:29
Show Gist options
  • Save AdrienLemaire/984420 to your computer and use it in GitHub Desktop.
Save AdrienLemaire/984420 to your computer and use it in GitHub Desktop.
Find all the TODO in a django project which need to be fixed
# Find all the TODO in the code which need to be fixed
echo "Templates"
grep -Irn --include=*.html --exclude-dir="coverage_html" "TODO" *
echo -e '\nPython'
grep -Irn --include=*.py --exclude-dir="coverage_html"\
--exclude-dir="development-tools" "TODO" *
echo -e '\nOther'
grep -Irn --exclude={todo.sh,jquery-1.5.2.js} --exclude-dir="coverage_html"\
--exclude-dir="development-tools" --exclude=*.py --exclude=*.html "TODO" *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment