Delete File
Deletes a file at a given filesystem path. Use onError to decide whether errors stop the script, continue, or return false when the block supports it.
Inputs
| Input | Required | Value Kind | Types | Enum Values |
|---|---|---|---|---|
path | yes | expression | file-path-string | — |
reason | no | expression | — | — |
onError | no | expression | enum-string | STOP, CONTINUE, RETURN_FALSE |
Notes
No additional notes are available yet.
Examples
Write Camera Metadata JSON For Python
Serializes the selected item's Camera metadata, writes compact JSON to a flushed per-run randomized file, lets isolated Python read it, and removes the file after normal process completion.
Topics: json, metadata, files, runtime python, external process
Source: patterns/ex-json-write-camera-metadata-for-python.json