User Tools

Site Tools


linux:ripgrep

This is an old revision of the document!


RipGrep

Glob

–glob parameter controls which files and directories are included or excluded from the search.

rg "pattern" --glob '!**/*.yaml'    # ! - exclude
                                    # **/ - matches any directory depth
                                    # *.yaml - any files ending with .yaml
linux/ripgrep.1761821568.txt.gz · Last modified: by v1ctor