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
| Component | Description |
|---|---|
file:copy | Copies a file from source to destination, preserving file permissions |
file:json:unchunk | Combines multiple JSON chunk files into a single array or map output file |
file:read | Reads the full contents of a file and returns it as both a string and raw bytes |
file:write | Writes or appends content to a file, optionally deleting it first |
How is this guide?