<?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>topic Re: Filter file name? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276318#M52440</link>
    <description>Thanks for your response 
&lt;B&gt;&lt;A href="https://www.talendforge.org/forum/profile.php?id=20081" target="_blank" rel="nofollow noopener noreferrer"&gt;umeshrakhe&lt;/A&gt;,&lt;/B&gt;
&lt;BR /&gt;But i need to read ListFileName.csv first to get the list of file names.
&lt;BR /&gt;do you have any idea?</description>
    <pubDate>Wed, 06 May 2015 09:40:46 GMT</pubDate>
    <dc:creator>orawajar</dc:creator>
    <dc:date>2015-05-06T09:40:46Z</dc:date>
    <item>
      <title>Filter file name?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276316#M52438</link>
      <description>Hi Master, 
&lt;BR /&gt;i have a file contains some string. 
&lt;BR /&gt;for example file ListFileName.csv : T001,T002,T003,T004 
&lt;BR /&gt;i need to scan a directory and read every file startsWith T001 or T002 or T003 ... 
&lt;BR /&gt;otherwise the file will be moved to other place. 
&lt;BR /&gt;how can i do this with Talend? 
&lt;BR /&gt;Thank you and best regards,</description>
      <pubDate>Wed, 06 May 2015 08:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276316#M52438</guid>
      <dc:creator>orawajar</dc:creator>
      <dc:date>2015-05-06T08:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file name?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276317#M52439</link>
      <description>If you want to filter some of the files which starts with specific names then you can use tFileList component with "file mask" property.&amp;nbsp;&lt;BR /&gt;configure tFileList component as follows.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Select directory where all the files stored.&amp;nbsp;&lt;BR /&gt;Add File Mask for required list of file names. &amp;nbsp;it should be like.&amp;nbsp;&lt;BR /&gt;"t001*"&lt;BR /&gt;"T002*"&lt;BR /&gt;"T003*"&lt;BR /&gt;hope this will help you..&amp;nbsp;&lt;BR /&gt;Other wise you can use &lt;A href="http://dwetl.com/2015/02/16/tfilelist-exclude-mask/" target="_blank" rel="nofollow noopener noreferrer"&gt;tFilelist -exclude mask&lt;/A&gt; which will exclude unwanted files.&amp;nbsp;</description>
      <pubDate>Wed, 06 May 2015 09:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276317#M52439</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-06T09:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file name?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276318#M52440</link>
      <description>Thanks for your response 
&lt;B&gt;&lt;A href="https://www.talendforge.org/forum/profile.php?id=20081" target="_blank" rel="nofollow noopener noreferrer"&gt;umeshrakhe&lt;/A&gt;,&lt;/B&gt;
&lt;BR /&gt;But i need to read ListFileName.csv first to get the list of file names.
&lt;BR /&gt;do you have any idea?</description>
      <pubDate>Wed, 06 May 2015 09:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276318#M52440</guid>
      <dc:creator>orawajar</dc:creator>
      <dc:date>2015-05-06T09:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file name?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276319#M52441</link>
      <description>Correct me if am wrong, you have a list of file names in ListFileName.csv file?&amp;nbsp; 
&lt;BR /&gt;If yes then you have to design job like below..&amp;nbsp; 
&lt;BR /&gt;tFileinputDelimited_1----Main--tMap---tFileinputDelimited_2-- then process here.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;tFileinputDelimited_1 provide&amp;nbsp;ListFileName.csv file path and schema.&amp;nbsp; 
&lt;BR /&gt;tMap- use output filter with below expression to get only required files.&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;PRE&gt;row1.FileName.startsWith("T001") ||&amp;nbsp;row1.FileName.startsWith("T002") || row1.FileName.startsWith("T003")&lt;/PRE&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;tFileinputDelimited_2 provide file name with required details to process input file which we are getting after filter.&amp;nbsp; 
&lt;BR /&gt;</description>
      <pubDate>Wed, 06 May 2015 09:51:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-name/m-p/2276319#M52441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-06T09:51:22Z</dc:date>
    </item>
  </channel>
</rss>

