rg 'pattern' -l

Category: Productivity & Search

rg 'pattern' -l

Show only filenames with matches (ripgrep)

Shows only filenames that contain matches, without the matching lines. -l means 'list files'.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.