User Tools

Site Tools


linux:ripgrep

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:ripgrep [2025/10/30 10:52] – created v1ctorlinux:ripgrep [2026/03/20 12:35] (current) – [Glob] v1ctor
Line 9: Line 9:
                                     # **/ - matches any directory depth                                     # **/ - matches any directory depth
                                     # *.yaml - any files ending with .yaml                                     # *.yaml - any files ending with .yaml
 +</code>
 +
 +Search for ''foo'' in in all files and subdirectories but ''legacy'' folder:
 +<code bash>
 +rg "foo" --glob '!legacy/**'        # !legacy - exclude "legacy" folder
 +                                    # ** - all files and subfolders
 </code> </code>
linux/ripgrep.1761821568.txt.gz · Last modified: by v1ctor