find command with exclude
find -name "*.js" -not -path "./directory/*" -not -path "*thrift_gen/*"
remove duplicate column:
awk '!seen[$0]++' filename
grep excluse dir:
grep --exclude-dir=vendor 'keywod' -irw *
git pull recursively:
find . -type d -depth 2 -exec git --git-dir={}/.git --work-tree=$PWD/{} pull origin master \;