Support Questions

Find answers, ask questions, and share your expertise

Nifi ListFile not listing files starting with "."

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

Master Collaborator

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

Master Collaborator

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.

New Contributor

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.