RIPGREP-ALL(1)

πŸ“¦ version 0.10.10, in ubuntu resolute, ubuntu stonking

πŸ’– RIPGREP-ALL(1) β€” the manual page but make it make sense πŸ’–

okay bestie, gather round, because this is the ripgrep-all manual page (it lives in the User Commands section of your man pages, iykyk) and it is genuinely SO useful. it's rga. it's ripgrep but it does not give up at the file extension like some quitter. no cap.


✨ NAME ✨

ripgrep-all β€” search through PDFs, E-Books, documents and archives πŸ¦‹


🌸 DESCRIPTION 🌸

ripgrep-all 0.10.10 β€” https://github.com/phiresky/ripgrep-all

rga: it's ripgrep, but it ALSO searches in PDFs, E-Books, Office documents, zip, tar.gz, etc. like... it just does. it ate and left no crumbs. πŸ’…

πŸŽ€ USAGE: πŸŽ€

rga [RGA OPTIONS] [RG OPTIONS] PATTERN [PATH ...]

πŸ”₯ FLAGS: πŸ”₯

  • --rga-accurate β€” use more accurate but slower matching by mime type.

by default, rga matches files using file extensions. some programs, like sqlite3, literally do not care about the file extension at all, so people sometimes use any extension or no extension whatsoever. with this flag, rga will try to detect the mime type of the input files using the magic bytes (kinda like the file utility does) and use that to pick the adapter. the detection only happens on the first 8KiB of the file, because we can't always seek on the input (looking at you, archives πŸ™ˆ).

  • --rga-no-cache β€” disable caching of results.

by default, rga caches the extracted text, if it's small enough, into a database. so repeated searches over the same set of files will be much faster. the location of the DB varies by platform:

  • ${XDG_CACHE_DIR-~/.cache}/ripgrep-all on Linux
  • ~/Library/Caches/ripgrep-all on macOS
  • C:\Users\username\AppData\Local\ripgrep-all on Windows

if you pass this flag, all caching will be disabled. all of it. gone. periodt.

  • -h, --help β€” prints help information
  • --rga-list-adapters β€” list all known adapters
  • --rga-no-prefix-filenames β€” don't prefix lines of files within an archive with the path inside the archive.

inside archives, by default rga prefixes the content of each file with the file path within the archive. this is usually useful, but it can cause problems, because then the inner path is ALSO searched for the pattern. sneaky.

  • --rga-print-config-schema β€” print the JSON Schema of the configuration file
  • --rg-help β€” show help for ripgrep itself
  • --rg-version β€” show version of ripgrep itself
  • -V, --version β€” prints version information

πŸ‘‘ OPTIONS: πŸ‘‘

  • --rga-adapters=<adapters>... β€” change which adapters to use and in which priority order (descending).
    • "foo,bar" means use only adapters foo and bar.
    • "-bar,baz" means use all default adapters except for bar and baz.
    • "+bar,baz" means use all default adapters and also bar and baz.
  • --rga-cache-compression-level=<compression-level> β€” ZSTD compression level to apply to adapter outputs before storing in the cache DB.

ranges from 1 - 22. [default: 12]

  • --rga-config-file=<config-file-path> β€” (the manpage gives this one literally zero description, so I'm just holding it up to the light like this 🫢 it's here, it's real, that's all we know)
  • --rga-max-archive-recursion=<max-archive-recursion> β€” maximum depth of nested archives to recurse into.

when searching in archives, rga will recurse into archives inside archives. this option limits the depth. [default: 5]

  • --rga-cache-max-blob-len=<max-blob-len> β€” max compressed size to cache.

longest byte length (after compression) to store in cache. longer adapter outputs will not be cached and will be recomputed every time. 😭

allowed suffixes on command line: k M G [default: 2000000]

  • --rga-cache-path=<path> β€” path to store cache DB [default: /home/werdahias/.cache/ripgrep-all]

quick note bestie: -h shows a concise overview, --help shows more detail and advanced options. ✨

all other options not shown here are passed directly to rg, especially [PATTERN] and [PATH ...]. so if you already know ripgrep, you already know. iykyk. 🌈


and that's the whole page!! this was ripgrep-all 0.10.10, and the page itself is dated December 2025 β€” go forth and grep inside a PDF like the main character you are. mwah. πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from