File

Read, write, copy, find, and validate files on the local filesystem.

Low-level file operations: read and write text or binary files, copy files, search by name pattern or regex, validate content against rules, and tidy up whitespace or formatting. All operations are relative to the workflow's working directory.

Components in this group never create intermediate directories: ensure parent paths exist before writing.

Components

Each component links to its own page with its full options and outputs.

NameDescription
file:copyCopies a file from source to destination, preserving file permissions
file:find
file:json:unchunkCombines multiple JSON chunk files into a single array or map output file
file:readReads the full contents of a file and returns it as both a string and raw bytes
file:writeWrites or appends content to a file, optionally deleting it first