Skip to main content
Jeremias Meister - Tools & Pipeline

Action File System

Find Files (Grep)

Searches for files in a directory based on name patterns or content. Outputs a list of matching file paths.

Node IDGrepAction

Parameters

ParameterTypeRequiredDefaultDescription
Directory directory file_picker Yes — The starting directory for the search.
Search Mode searchMode enum
  • File Name
  • File Content
Yes File Name Determines whether to search by file name/path or by the content within files.
Match Type matchType enum
  • Contains
  • Regex
No Contains 'Contains' performs simple substring matching on the file name or content. 'Regex' uses regular expressions (on the full path for File Name mode, on each line for File Content mode).
Pattern pattern string Yes — The pattern to search for. For 'Contains' mode, this is a simple substring to match (e.g., 'test' will match 'test_001.txt'). For 'Regex' mode, this is a regular expression pattern.
File Extensions fileExtensions string No — Optional comma-separated list of file extensions to filter (e.g., "txt,log,md"). If empty, all file types are searched. Extensions should be specified without the dot.
Recursive recursive boolean No true If true, the search will include all subdirectories.
Case Sensitive caseSensitive boolean No false If true, the pattern matching will be case-sensitive.

Inputs

InputTypeRequiredDescription
Execute input0 object Yes An incoming execution signal.

Outputs

OutputTypeIdentifierDescription
Matched Paths output0 object matched_paths Emits a standard data object containing a list of full file paths that match the criteria.