Useful find one liners
Python hacks
Find all files that have tab characters at the start of the file:
find . -type f -iname '*.py' -exec grep -q "^$(echo -e '\t')" '{}' \; -print
Retab the python files:
find . -type f -iname '*.py' -exec grep -q "^$(echo -ne '\t')" '{}' \; -print0 | xargs -0 -I'%' vim '%' +'set shiftwidth=2' +'set tabstop=2' +'set expandtab' +'retab' +'wq'