Skip to main content

Delete File

Category: Files Delete File block screenshot

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

InputRequiredValue KindTypesEnum Values
pathyesexpressionfile-path-string
reasonnoexpression
onErrornoexpressionenum-stringSTOP, 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.

kind: Pattern · format: runtime-dsl · validation: Manual workspace

Topics: json, metadata, files, runtime python, external process

Source: patterns/ex-json-write-camera-metadata-for-python.json

Download JSON