<?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: How to read and rename a file ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233933#M23461</link>
    <description>&lt;P&gt;unfortunately it is not the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to read a part of the file name. In my example it is the file date. After that, I need to convert the date into the calender week format/week number format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Newbee&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 08:09:17 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-04-30T08:09:17Z</dc:date>
    <item>
      <title>How to read and rename a file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233931#M23459</link>
      <description>&lt;P&gt;Hi everyone,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I want to read the file name and rename it as follows:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;xyz_&lt;STRONG&gt;20200101&lt;/STRONG&gt;_1234 -&amp;gt; xyz_&lt;STRONG&gt;CW01&lt;/STRONG&gt;_1234&lt;/P&gt; 
&lt;P&gt;xyz_&lt;STRONG&gt;20200108&lt;/STRONG&gt;_1234 -&amp;gt; xyz_&lt;STRONG&gt;CW02&lt;/STRONG&gt;_1234&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What do you suggest to enable this task? &lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://community.qlik.com/" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Kind regards,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Newbee&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;</description>
      <pubDate>Sat, 16 Nov 2024 02:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233931#M23459</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and rename a file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233932#M23460</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LR4nAAG"&gt;@TalendNewbee11&lt;/A&gt;, check the below case is similar.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCruuCAC" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Copy-multiple-files-and-rename-them-and-remove-the-source-file/td-p/119086&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 07:56:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233932#M23460</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-30T07:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and rename a file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233933#M23461</link>
      <description>&lt;P&gt;unfortunately it is not the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I need to read a part of the file name. In my example it is the file date. After that, I need to convert the date into the calender week format/week number format.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Newbee&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 08:09:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233933#M23461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-30T08:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and rename a file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233934#M23462</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LR4nAAG"&gt;@TalendNewbee11&lt;/A&gt;&amp;nbsp;, you use the tfileist and then use some java to convert to whatever you want to need,for that you need to know java.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 11:44:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233934#M23462</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-30T11:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and rename a file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233935#M23463</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp; yes, I know. It works to rename a file and move it to another folder.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However, my case is the following:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a file name that I want to analyze. There are 3 pieces of information within this file name:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;XXX_20200430_1234&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;XXX&lt;/STRONG&gt; = name ,&amp;nbsp;&lt;STRONG&gt;20200430&lt;/STRONG&gt; = Date in which the file was written , &lt;STRONG&gt;1234&lt;/STRONG&gt; = serial number&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In this case I would like to explicitly convert the date within the file name to another date format&lt;/P&gt; 
&lt;P&gt;The other information should be copied.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The result should be:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;xxx_&lt;STRONG&gt;CW17&lt;/STRONG&gt;_1234&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 11:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233935#M23463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-04-30T11:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and rename a file ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233936#M23464</link>
      <description>In Java first you need to split those values into three different variables and then take current week date and concatenate with first variable + current week variable + serial number variable.</description>
      <pubDate>Fri, 01 May 2020 08:53:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-read-and-rename-a-file/m-p/2233936#M23464</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-05-01T08:53:17Z</dc:date>
    </item>
  </channel>
</rss>

