ripgrep

Tips

    To list only file paths matching a given query, use --file-with-matches-- option. Example,
    1
    rg --files-with-matches EnableEureka
    Copied!
      For case insensitive searches, use -i flag.
    Search in specific files.
    Examples,
      Search in only gradle files,
      1
      rg grpc -g '*.gradle'
      Copied!
      Search in non-gradle files,
      1
      rg grpc -g '!*.gradle'
      Copied!
Last modified 1yr ago
Copy link