printf "Creating ctags file in $PWD/tags\n"; rm -f tags find -L "$PWD" "/usr/include" -print0 -type f \ -iname '*.c' \ -o -iname '*.h' \ -o -iname '*.cc' \ -o -iname '*.hh' \ -o -iname '*.cpp' \ -o -iname '*.hpp' \ -o -iname '*.cxx' \ -o -iname '*.hxx' \ | xargs -0 ctags \ --totals=yes \ --sort=yes \ --c++-kinds=+px \ --c-kinds=+px \ --fields=+iaS \ --extra=+q \ --exclude="*.js" \ --exclude="*.sql" \ --exclude="*.py" \ tags