LinuxCommandLibrary

rga

Ripgrep wrapper with rich file type searching capabilities.

TLDR

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

$ rga [regular_expression]
copy


List available adapters
$ rga --rga-list-adapters
copy


Change which adapters to use (e.g. ffmpeg, pandoc, poppler etc.)
$ rga --rga-adapters=[adapter1,adapter2] [regular_expression]
copy


Search for a pattern using the mime type instead of the file extension (slower)
$ rga --rga-accurate [regular_expression]
copy


Display detailed help
$ rga --help
copy

Copied to clipboard