ripgrep

General

rg 'mystr' -g '*.conf' --no-messages

... searches for mystr in *.conf without displaying messages (like permission denied)



Argument description

  • -g Glob
  • --files-without-match prints only the paths with no matches
  • -i Ignore case
  • -l, --files-with-matches prints only the paths with at least one match and suppress match contents
  • -N, --no-line-number does not print the line number
  • --no-heading skips the heading (above the cluster of matches)
  • -o, --only-matching prints only the matched part
  • -v Invert match

2026-06-14 11:03:42

minicms - © 2020-2026 Simeon Simeonov