From d213b0ec90c6b42da73743bb06d15173e40f98b9 Mon Sep 17 00:00:00 2001 From: git-em <56173216+git-em@users.noreply.github.com> Date: Sun, 27 Feb 2022 18:08:43 -0300 Subject: [PATCH] rga: add page (#7818) --- pages/common/rga.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/rga.md diff --git a/pages/common/rga.md b/pages/common/rga.md new file mode 100644 index 0000000000..e52ebe81fc --- /dev/null +++ b/pages/common/rga.md @@ -0,0 +1,24 @@ +# rga + +> Ripgrep wrapper with rich file type searching capabilities. +> More information: . + +- 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`