tldr/pages/common/rga.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

588 B

rga

Ripgrep wrapper with rich file type searching capabilities. More information: https://github.com/phiresky/ripgrep-all.

  • Search recursively for a pattern in all files in the current directory:

rga {{regular_expression}}

  • List available adapters:

rga --rga-list-adapters

  • Change which adapters to use (e.g. ffmpeg, pandoc, poppler etc.):

rga --rga-adapters={{adapter1,adapter2}} {{regular_expression}}

  • Search for a pattern using the mime type instead of the file extension (slower):

rga --rga-accurate {{regular_expression}}

  • Display help:

rga --help