mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 18:55:25 +02:00
rga: add page (#7818)
This commit is contained in:
parent
0f73f6aaad
commit
d213b0ec90
1 changed files with 24 additions and 0 deletions
24
pages/common/rga.md
Normal file
24
pages/common/rga.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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 detailed help:
|
||||
|
||||
`rga --help`
|
Loading…
Add table
Reference in a new issue