Skip to main content
Topic: rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz (Read 330 times) previous topic - next topic

rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz

rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.

https://github.com/phiresky/ripgrep-all

rga is a line-oriented search tool that allows you to look for a regex in a multitude of file types. rga wraps the awesome ripgrep and enables it to search in pdf, docx, sqlite, jpg, zip, tar.*, movie subtitles (mkv, mp4), etc.

For more detail, see this introductory blogpost: https://phiresky.github.io/blog/2019/rga--ripgrep-for-zip-targz-docx-odt-epub-jpg/

rga will recursively descend into archives and match text in every file type it knows.