exclude multiple dir grep code example Example: grep exclude multi dirs grep -inRw -E 'direct' . --exclude-dir={git,log,assets}