Support Questions

Find answers, ask questions, and share your expertise

Nifi ListFile not listing files starting with "."

avatar
New Contributor

We have file names that start with a dot (e.g. ".~tempfile.bin") that we are attempting to list with the ListFile processor.  We've tried setting the File Filter to an empty string, as well as various RegEx's (e.g. ".*") and it will not list file names starting with a dot.  As soon as we remove the starting dot from the file name, it lists the files.  Any ideas on how to list these files starting with a dot?

1 ACCEPTED SOLUTION

avatar
Super Guru

Files that start with a dot are considered to be "hidden files" in Linux.

To read those files with the ListFile processor, simply set Ignore Hidden Files to false.

 

araujo_0-1644355817160.png

 

--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.

View solution in original post

2 REPLIES 2

avatar
Super Guru

Files that start with a dot are considered to be "hidden files" in Linux.

To read those files with the ListFile processor, simply set Ignore Hidden Files to false.

 

araujo_0-1644355817160.png

 

--
Was your question answered? Please take some time to click on "Accept as Solution" below this post.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
New Contributor

Perfect, that did it.  Thanks for your help @araujo!