[ 
https://issues.apache.org/jira/browse/NIFI-15324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Stieglitz updated NIFI-15324:
------------------------------------
    Status: Patch Available  (was: In Progress)

> Allow DeleteFile to delete empty directories
> --------------------------------------------
>
>                 Key: NIFI-15324
>                 URL: https://issues.apache.org/jira/browse/NIFI-15324
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Create a new property "Delete Empty Directory" whose default value will be 
> false.
> If set to true, then after successful deletion, an attempt will be made to 
> delete the directory where the deleted file was located. Ensure directories 
> still containing files do NOT get deleted.
> If file deletion succeeds, then send the flowfile to SUCCESS whether 
> directory deletion succeeds or fails. If directory deletion fails, only log a 
> message.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to