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

Pierre Villard resolved NIFI-7104.
----------------------------------
    Resolution: Feedback Received

Apache NiFi 1.x is no longer maintained and no new release is planned on the 
1.x release line. Marking as resolved as part of a cleanup operation. Please 
open a new one with an updated description if this is still relevant for NiFi 
2.x.

> ListFile processor "Path filter" not applied against base directory
> -------------------------------------------------------------------
>
>                 Key: NIFI-7104
>                 URL: https://issues.apache.org/jira/browse/NIFI-7104
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.9.2
>            Reporter: Matthew Clarke
>            Priority: Major
>
> ListFile processor "path filter" is applied against sub directories only and 
> not the base directory.
> Consider scenario where you want to only list files found in subdirectories 
> with directory name "data" and you have directory tree structure as follows:
> /input/basedir/<timestamp>/data
> So you configure the listFile with "Input Directory" of "/input/basedir" and 
> a "Path Filter" with ".*?/data" with the expectation that only files found in 
> the various sub "data" directories are returned.
> observed behavior is that listFile will return all files found in the base 
> directory "/input/basedir" as well as all file from subdirectories matching 
> the "Path Filter".



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

Reply via email to