mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-16 10:00:18 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
29
tldr/rga
Normal file
29
tldr/rga
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user