<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Get files using ListFile but filtering by its name that has a date inside it in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Get-files-using-ListFile-but-filtering-by-its-name-that-has/m-p/236366#M198179</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/112611/mtigua.html" nodeid="112611"&gt;@Mario Tigua&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The File Filter property in the listFile processor does not support NiFi Expression Language.  If yo float your cursor of the question mark icon to the right of a property name it will display a pop-up window that will tell you if this property will support NiFi expression language.&lt;BR /&gt;-&lt;/P&gt;&lt;P&gt;This property expects a java regular expression instead.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this answer addressed your question, please take a moment to login in and click the "ACCEPT" link.&lt;/P&gt;</description>
    <pubDate>Sat, 23 Mar 2019 03:58:38 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2019-03-23T03:58:38Z</dc:date>
    <item>
      <title>Get files using ListFile but filtering by its name that has a date inside it</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Get-files-using-ListFile-but-filtering-by-its-name-that-has/m-p/236365#M198178</link>
      <description>&lt;P&gt;Hello everyone, please help!&lt;/P&gt;&lt;P&gt;I have files whose name is formed by a date in the format "yymmdd", for example:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;TRB_ASE_D190125.txt&lt;/P&gt;&lt;P&gt;TRB_TIT_D190125.txt&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I need to get only the files whose names match the current date. For example, if the date was "190125", the 2 subsequent files would match that criterion.&lt;/P&gt;&lt;P&gt;I am using the ListFile processor to get the files and put this regular expression using the "now" function in the File Filter, but it does not work:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;^TRB_[A-Z]+_D${now():format('yymmdd')}.TXT&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 12:24:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Get-files-using-ListFile-but-filtering-by-its-name-that-has/m-p/236365#M198178</guid>
      <dc:creator>mtigua</dc:creator>
      <dc:date>2019-03-22T12:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get files using ListFile but filtering by its name that has a date inside it</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Get-files-using-ListFile-but-filtering-by-its-name-that-has/m-p/236366#M198179</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/112611/mtigua.html" nodeid="112611"&gt;@Mario Tigua&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The File Filter property in the listFile processor does not support NiFi Expression Language.  If yo float your cursor of the question mark icon to the right of a property name it will display a pop-up window that will tell you if this property will support NiFi expression language.&lt;BR /&gt;-&lt;/P&gt;&lt;P&gt;This property expects a java regular expression instead.&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;P&gt;If you found this answer addressed your question, please take a moment to login in and click the "ACCEPT" link.&lt;/P&gt;</description>
      <pubDate>Sat, 23 Mar 2019 03:58:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Get-files-using-ListFile-but-filtering-by-its-name-that-has/m-p/236366#M198179</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-03-23T03:58:38Z</dc:date>
    </item>
  </channel>
</rss>

