FreeBSD grep recursive but exclude some directories

By | December 15, 2015

grep 'scs' --exclude='./frontend/runtime/*' --exclude='./backend/runtime/*' --exclude='./console/runtime/*' --exclude='./vendor/*' . -R
grep 'status' --exclude-dir={runtime,debug,migrations,web,vendor} . -R