<?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: Rename a list of files in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Rename-a-list-of-files/m-p/2512466#M147396</link>
    <description>&lt;P&gt;I've used this and it works:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mickael_Ro_0-1743491517433.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179169i2C4FC48F4BF3268A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mickael_Ro_0-1743491517433.png" alt="Mickael_Ro_0-1743491517433.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mickael_Ro_1-1743491527102.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179170iF3E11597A35069E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mickael_Ro_1-1743491527102.png" alt="Mickael_Ro_1-1743491527102.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 07:12:16 GMT</pubDate>
    <dc:creator>Mickael_Ro</dc:creator>
    <dc:date>2025-04-01T07:12:16Z</dc:date>
    <item>
      <title>Rename a list of files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rename-a-list-of-files/m-p/2512314#M147383</link>
      <description>&lt;P&gt;I want to import files from an smtp server, put them locally and rename them. All this on a daily basis.&lt;BR /&gt;The files are in the form “filename+date.csv” except that I want to remove the date from the names of the various files.&lt;BR /&gt;Currently, I'm able to retrieve the files and put them locally, but I can't set the tFileCopy component to remove the date characters from the file name.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mickael_Ro_0-1743414289044.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179136iC3E1D55E7ED84348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mickael_Ro_0-1743414289044.png" alt="Mickael_Ro_0-1743414289044.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mickael_Ro_1-1743414337069.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179137iEFB23A09CB365FEA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mickael_Ro_1-1743414337069.png" alt="Mickael_Ro_1-1743414337069.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks à lot&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 09:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rename-a-list-of-files/m-p/2512314#M147383</guid>
      <dc:creator>Mickael_Ro</dc:creator>
      <dc:date>2025-03-31T09:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a list of files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rename-a-list-of-files/m-p/2512412#M147393</link>
      <description>&lt;P&gt;Before:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mchapman_2-1743450593011.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179157iC42AE654F155035F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mchapman_2-1743450593011.png" alt="mchapman_2-1743450593011.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;After:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mchapman_3-1743450643856.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179158i844C8610A7ED3EED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mchapman_3-1743450643856.png" alt="mchapman_3-1743450643856.png" /&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;Use this to remove the date from files (this example assumes .csv files with _ between the filename and the date, so modify the RegEx as needed):&lt;BR /&gt;&lt;BR /&gt;((String)globalMap.get("tFileList_1_CURRENT_FILE")).replaceAll("_[0-9]{8}\\.csv$", "\\.csv")&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 19:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rename-a-list-of-files/m-p/2512412#M147393</guid>
      <dc:creator>mchapman</dc:creator>
      <dc:date>2025-03-31T19:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rename a list of files</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Rename-a-list-of-files/m-p/2512466#M147396</link>
      <description>&lt;P&gt;I've used this and it works:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mickael_Ro_0-1743491517433.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179169i2C4FC48F4BF3268A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mickael_Ro_0-1743491517433.png" alt="Mickael_Ro_0-1743491517433.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mickael_Ro_1-1743491527102.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/179170iF3E11597A35069E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mickael_Ro_1-1743491527102.png" alt="Mickael_Ro_1-1743491527102.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 07:12:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Rename-a-list-of-files/m-p/2512466#M147396</guid>
      <dc:creator>Mickael_Ro</dc:creator>
      <dc:date>2025-04-01T07:12:16Z</dc:date>
    </item>
  </channel>
</rss>

