CmdID

CmdID / Commands

pt

Platinum Searcher. 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

Platinum Searcher. A code search tool similar to ag.

Find files containing a pattern and print the files with highlighted matches

pt patternIdentify

Find files containing a pattern and display count of matches in each file

pt --count patternIdentify

Find files containing a pattern as a whole word and ignore its case

pt --word-regexp --ignore-case patternIdentify

Find a pattern in files with a given extension using a regex

pt --file-search-regexp='\.ext$' patternIdentify

Find files whose contents match the regex, up to 2 directories deep

pt --depth=2 -e '^ba[rz]*$'Identify