Folder Content Delete Action

The Folder Content Delete Action node deletes all contents of one or more specified folders.

All files and subfolders inside the provided directories are removed recursively, while the specified root folder itself remains intact.

Input Parameters

Folder Path List of folder paths whose contents should be deleted.

Folder Content Delete Action

Behavior

  • Deletes all files inside the folder

  • Deletes all subdirectories recursively

  • Keeps the root folder itself

  • Operates on the host running the stream (client or server)

  • Supports asynchronous execution

Typical Use Cases

  • cleaning temporary working directories

  • clearing cache folders

  • resetting watchfolders

  • preparing folders for new ingest or rendering jobs

  • post-delivery cleanup

Important Note

The deletion is permanent and bypasses any recycle bin or trash mechanism provided by the operating system. Only the contents of the folder are removed — the folder itself will still exist after execution.

Practical Tip

This node is useful when a workflow expects an existing directory but requires it to be empty before starting a new process (for example, watchfolders or render output directories).

Last updated