Delete File
Delete File (v1.0.0)
Delete the working file or original file. You don't need to use this plugin to clean up files in the cache, Tdarr will do this automatically after the flow. To manually clear the cache, use the 'Clear Cache' flow plugin. If the working file is deleted, the plugin after this one should load a valid working file, such as 'Set Original File' to load the original file, else subsequent plugins will error.
Inputs:
Name: File To Delete
Type: string
Tooltip:
Specify the file to delete
Name: Delete Working File If It's The Original File
Type: boolean
Tooltip:
If the option above is set to delete the working file, and the working file is the original file, delete the file.
Name: Delete Parent Folder If Empty
Type: boolean
Tooltip:
If the folder that the file is in is empty after the file is deleted, delete the folder.
Outputs:
1: Continue to next plugin