Delete file directory
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Delete file directory

  • Dark
    Light
  • PDF

Article Summary

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

LabelKeyTypeRequired?DefaultDescription
File/directory pathpathString(local-filesystem-reference)YesAbsolute local filesystem path to the file/directory to delete.

Output arguments

Number of outputs: 2

No output arguments.

Events

No events.

Errors

LabelCodeDescription
Could not delete file/directorycouldNotDeleteThrown if the target file/directory could not be deleted.

Was this article helpful?