Skip to main content
chuck7
Silver ⭐️
February 8, 2022
Solved

Nifi ListFile not listing files starting with "."

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?

araujo
araujoAnswer
Platinum ⭐️⭐️⭐️
February 8, 2022

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.

2 replies

araujo
Platinum ⭐️⭐️⭐️
araujoAnswer
Platinum ⭐️⭐️⭐️
February 8, 2022

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

 

Translate
-- 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.
chuck7
chuck7Author
Silver ⭐️
February 8, 2022

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

Translate