Created
June 6, 2024 07:57
-
-
Save neroze/c299a1573098f2ca532d4c943e2c4dc4 to your computer and use it in GitHub Desktop.
search with CLI - find + grep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ find [tareget folder] -type d -name '[folder to ingore]' -prune -o -type f -print | xargs grep --color=auto "[text to search]" | |
❯ find ./core/ -type d -name 'node_modules' -prune -o -type f -print | xargs grep --color=auto "click" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment