Processor FileFinder - autopkg/autopkg GitHub Wiki

FileFinder

[!NOTE] This page is automatically generated by GitHub Actions when a new release is tagged. Updates to the information on this page should be submitted as pull requests to the AutoPkg repository. Processors are located here.

Description

Finds a filename for use in other Processors.

Currently only supports glob filename patterns.

Introduced in AutoPkg version 0.2.3.

Input Variables

  • pattern:
    • required: True
    • description: Shell glob pattern to match files by
  • find_method:
    • required: False
    • description: Type of pattern to match. Currently only supported type is "glob" (also the default)
    • default: glob

Output Variables

  • found_filename:
    • description: Full path of found filename
  • dmg_found_filename:
    • description: DMG-relative path of found filename
  • found_basename:
    • description: Basename of found filename