Skip to content

Instantly share code, notes, and snippets.

@lbbedendo
Created April 28, 2022 02:33
Show Gist options
  • Save lbbedendo/cf3c15e66e8d58030350c41272a48252 to your computer and use it in GitHub Desktop.
Save lbbedendo/cf3c15e66e8d58030350c41272a48252 to your computer and use it in GitHub Desktop.
Search string recursively
# Pesquisa uma string recursivamente ignorando alguns diretórios comuns em projetos node, java, etc
grep -Hrn 'text_to_find' --exclude-dir 'node_modules' --exclude-dir 'build' --exclude-dir 'bin' --exclude-dir 'public' .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment