Skip to main content
deleted 9 characters in body
Source Link
ctrl-alt-delor
  • 28.8k
  • 11
  • 66
  • 113

Here is how to tell find not to look inside the .git or .hg repositories.

find bookmarker.  \( -iname '.git' -o -iname '.hg' \) -prune -false  -o -iname  '*thing-i-am-looking for*'

Here is how to tell find not to look inside the .git or .hg repositories.

find bookmarker  \( -iname '.git' -o -iname '.hg' \) -prune -false  -o -iname  '*thing-i-am-looking for*'

Here is how to tell find not to look inside the .git or .hg repositories.

find .  \( -iname '.git' -o -iname '.hg' \) -prune -false  -o -iname  '*thing-i-am-looking for*'
Source Link
ctrl-alt-delor
  • 28.8k
  • 11
  • 66
  • 113

Here is how to tell find not to look inside the .git or .hg repositories.

find bookmarker  \( -iname '.git' -o -iname '.hg' \) -prune -false  -o -iname  '*thing-i-am-looking for*'