<?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 File Moving and Renaming in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291029#M64256</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have multiple files on my main folder and i have to look for two files in it.&lt;/P&gt; 
&lt;P&gt;file1_140618.csv&lt;/P&gt; 
&lt;P&gt;file2&lt;SPAN&gt;_140618&lt;/SPAN&gt;.csv&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please note that the date in these files keep changing.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What i actually do:&lt;/P&gt; 
&lt;P&gt;When i check the 1st file, it has to log the information (file_properties) in a file before moving and renaming it to another folder.&lt;/P&gt; 
&lt;P&gt;The same thing applies to the second file lookup; same step.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;At this moment,&amp;nbsp;I am not able to use one filelist because the tfilecopy does not have the regular expression option. And also i will not know which file is&amp;nbsp;being taken into consideration while using&amp;nbsp;((String)globalMap.get("tFileExist_1_FILENAME")) in the tfilecopy.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tu.JPG" style="width: 723px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lxz9.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141751iF1F4F6274BC4270F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lxz9.jpg" alt="0683p000009Lxz9.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="df.JPG" style="width: 872px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyLT.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130453iDFC6EDF6F4FE4DA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyLT.jpg" alt="0683p000009LyLT.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you suggest how i can optimize this job Or is there a better way to do this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;asadasing&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="df.JPG" style="width: 872px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly9p.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141914iF8128BC3AF6EADBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly9p.jpg" alt="0683p000009Ly9p.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there a way to optimize this job; i meaan&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:06:10 GMT</pubDate>
    <dc:creator>RA6</dc:creator>
    <dc:date>2024-11-16T08:06:10Z</dc:date>
    <item>
      <title>File Moving and Renaming</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291029#M64256</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have multiple files on my main folder and i have to look for two files in it.&lt;/P&gt; 
&lt;P&gt;file1_140618.csv&lt;/P&gt; 
&lt;P&gt;file2&lt;SPAN&gt;_140618&lt;/SPAN&gt;.csv&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Please note that the date in these files keep changing.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What i actually do:&lt;/P&gt; 
&lt;P&gt;When i check the 1st file, it has to log the information (file_properties) in a file before moving and renaming it to another folder.&lt;/P&gt; 
&lt;P&gt;The same thing applies to the second file lookup; same step.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;At this moment,&amp;nbsp;I am not able to use one filelist because the tfilecopy does not have the regular expression option. And also i will not know which file is&amp;nbsp;being taken into consideration while using&amp;nbsp;((String)globalMap.get("tFileExist_1_FILENAME")) in the tfilecopy.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tu.JPG" style="width: 723px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lxz9.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141751iF1F4F6274BC4270F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lxz9.jpg" alt="0683p000009Lxz9.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="df.JPG" style="width: 872px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyLT.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130453iDFC6EDF6F4FE4DA5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyLT.jpg" alt="0683p000009LyLT.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you suggest how i can optimize this job Or is there a better way to do this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards,&lt;/P&gt; 
&lt;P&gt;asadasing&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="df.JPG" style="width: 872px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly9p.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141914iF8128BC3AF6EADBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly9p.jpg" alt="0683p000009Ly9p.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is there a way to optimize this job; i meaan&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:06:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291029#M64256</guid>
      <dc:creator>RA6</dc:creator>
      <dc:date>2024-11-16T08:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: File Moving and Renaming</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291030#M64257</link>
      <description>&lt;P&gt;A single subjob with tFileList--&amp;gt;tFileProperties--&amp;gt;tFileOutputDelimited--&amp;gt;tFileCopy should be enough.&lt;/P&gt;
&lt;P&gt;You should use&amp;nbsp;"tFileList_1_CURRENT_FILEPATH" &lt;SPAN&gt;instead of "tFileExist_1_FILENAME" in tFileCopy (or I miss something).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 11:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291030#M64257</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-14T11:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: File Moving and Renaming</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291031#M64258</link>
      <description>&lt;P&gt;you can use:&lt;/P&gt;&lt;P&gt;only one tFileList&lt;/P&gt;&lt;P&gt;file path is globalMap.get("tFileList_1_CURRENT_FILEPATH")&lt;/P&gt;&lt;P&gt;tfileexist is not mandatory&lt;/P&gt;&lt;P&gt;onSubjobOk is Better after iterate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 11:18:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291031#M64258</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-06-14T11:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: File Moving and Renaming</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291032#M64259</link>
      <description>&lt;P&gt;Thank you for your quick reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Lets assume i have to rename the files mentioned as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;file1_140618 =&amp;gt; client1234abc&lt;/P&gt;
&lt;P&gt;file2_140618 =&amp;gt; client987xyz&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then what should i put in my tfilecopy &amp;gt;&amp;gt; destination filename?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 11:35:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291032#M64259</guid>
      <dc:creator>RA6</dc:creator>
      <dc:date>2018-06-14T11:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: File Moving and Renaming</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291033#M64260</link>
      <description>&lt;P&gt;Where does the target filename come from?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2018 12:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291033#M64260</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-06-14T12:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: File Moving and Renaming</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291034#M64261</link>
      <description>&lt;P&gt;Normally,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;i will have only two files:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Client_xxxxx&lt;/P&gt; 
&lt;P&gt;Address_xxxxx&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And my target name should be:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Client_xxxxx =&amp;gt; customers_1806181540 (currentDateTime)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Address_xxxxx =&amp;gt; Address_1806181540 (currentDateTime)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;As at now, i am hard coding both files in the talend interface.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.JPG" style="width: 574px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ly8Q.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129201iD096A20CDB7DD844/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ly8Q.jpg" alt="0683p000009Ly8Q.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lt8V"&gt;Capture3.JPG&lt;/A&gt;</description>
      <pubDate>Mon, 18 Jun 2018 12:44:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291034#M64261</guid>
      <dc:creator>RA6</dc:creator>
      <dc:date>2018-06-18T12:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: File Moving and Renaming</title>
      <link>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291035#M64262</link>
      <description>if you want the best way to do this, it's the best way.
&lt;BR /&gt;when you open talend you can directly speak about 2 file who are going to be copied.
&lt;BR /&gt;
&lt;BR /&gt;Optimizing ?
&lt;BR /&gt;- Speed
&lt;BR /&gt;- Globalisation (do the same for all incoming files)
&lt;BR /&gt;- Alerting (if one file is not present)
&lt;BR /&gt;what is the next step
&lt;BR /&gt;you are the only one who can say "it's the best way!"</description>
      <pubDate>Tue, 19 Jun 2018 08:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/File-Moving-and-Renaming/m-p/2291035#M64262</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-06-19T08:17:08Z</dc:date>
    </item>
  </channel>
</rss>

