CmdID

CmdID / Commands

cupstestppd

Test conformance of PPD files to the version 4.3 of the specification. 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

Test conformance of PPD files to the version 4.3 of the specification. Error codes (1, 2, 3, and 4, respectively): bad CLI arguments, unable to open file, unskippable format errors, and non-conformance with PPD specification. Note: This command is deprecated.

Test the conformance of one or more files in quiet mode

cupstestppd -q path/to/file1.ppd path/to/file2.ppd ...Identify

Get the PPD file from stdin, showing detailed conformance testing results

cupstestppd <path/to/file.ppd -v -Identify

Test all PPD files under the current directory, printing the names of each file that does not conform

find . -name \*.ppd \! -execdir cupstestppd -q '{}' \; -printIdentify
-namefilename with wildcards toybox
-execdirRun command in file's dir toybox
-printPrint match with newline toybox

Trips 1 Sigma rule: informationalFile and Directory Discovery - Linux by Daniil Yugoslavskiy, oscd.community, CheraghiMilad