[
https://issues.apache.org/jira/browse/NIFI-15324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-15324:
------------------------------------
Status: Open (was: Patch Available)
There is no need for this capability as DeleteFile already supports deleting
empty directories. Hence another instance of the processors would be needed to
delete the empty directory.
> 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)