Delete file directory
- 18 May 2022
- 1 Minute to read
- DarkLight
- PDF
Delete file directory
- Updated on 18 May 2022
- 1 Minute to read
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Deletes the target file or directory. Directories are deleted recursively (like rm -rf
).
If the file/directory was deleted successfully, the first output is triggered.
Input arguments
Label | Key | Type | Required? | Default | Description |
---|---|---|---|---|---|
File/directory path | path | String(local-filesystem-reference) | Yes | – | Absolute local filesystem path to the file/directory to delete. |
Output arguments
Number of outputs: 2
No output arguments.
Events
No events.
Errors
Label | Code | Description |
---|---|---|
Could not delete file/directory | couldNotDelete | Thrown if the target file/directory could not be deleted. |
Was this article helpful?