You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2025/12/15 14:47:00 UTC

[jira] [Resolved] (NIFI-15324) Allow DeleteFile to delete empty directories

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

Daniel Stieglitz resolved NIFI-15324.
-------------------------------------
    Resolution: Won't Do

> 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: 40m
>  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)