1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-15 02:35:41 +02:00
tldr/pages/common/rga.md
Managor ba6daef39d
*: standardize regex usage (#17328)
Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
2025-07-25 08:50:06 +03:00

24 lines
549 B
Markdown

# 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 {{regex}}`
- List available adapters:
`rga --rga-list-adapters`
- Change which adapters to use (e.g. ffmpeg, pandoc, poppler etc.):
`rga --rga-adapters={{adapter1,adapter2}} {{regex}}`
- Search for a pattern using the mime type instead of the file extension (slower):
`rga --rga-accurate {{regex}}`
- Display help:
`rga --help`