CmdID

CmdID / Commands

rg

Ripgrep, a recursive line-oriented search tool. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Ripgrep, a recursive line-oriented search tool. Aims to be a faster alternative to grep.

Recursively search current directory for a pattern (regex)

rg patternIdentify

Recursively search for a pattern in a file or directory

rg pattern path/to/file_or_directoryIdentify

Search for a literal string pattern

rg --fixed-strings -- stringIdentify

Include hidden files and entries listed in .gitignore

rg --hidden --no-ignore patternIdentify

Only search the files matching the glob pattern(s) (e.g. README.*, use !filename_pattern to exclude instead)

rg pattern --glob 'filename_glob_pattern'Identify

Recursively list filenames in the current directory and highlight ones that match a pattern

rg --files | rg --passthrough patternIdentify

Only list matched files (useful when piping to other commands)

rg --files-with-matches patternIdentify

Show lines that do not match the pattern

rg --invert-match patternIdentify