<?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 print total files size in folder in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337692#M106010</link>
    <description>&lt;P&gt;Thank you bro, now i got the solution.&lt;/P&gt;</description>
    <pubDate>Sat, 18 Mar 2023 04:12:37 GMT</pubDate>
    <dc:creator>dilip_n</dc:creator>
    <dc:date>2023-03-18T04:12:37Z</dc:date>
    <item>
      <title>How to print total files size in folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337689#M106007</link>
      <description>&lt;P&gt;hi there, I have a query,&lt;/P&gt;&lt;P&gt;my folder contains 100 files with the same metadata in text format.&lt;/P&gt;&lt;P&gt;so I need in the output the&amp;nbsp;&lt;U&gt;total number of files&lt;/U&gt;&amp;nbsp;and the&lt;U&gt;&amp;nbsp;sum of (the total size of files),&amp;nbsp;&lt;/U&gt;i used the below job, but I got the solution for the total number of files and I didn't know how to print total files size. if anyone knows plz help me. thank you in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000fHlZGAA0.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144276i2706AA1286BF2316/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000fHlZGAA0.png" alt="0695b00000fHlZGAA0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000fHlYcAAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154596i09BDC6A63EE78925/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000fHlYcAAK.png" alt="0695b00000fHlYcAAK.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:59:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337689#M106007</guid>
      <dc:creator>dilip_n</dc:creator>
      <dc:date>2024-11-15T21:59:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to print total files size in folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337690#M106008</link>
      <description>&lt;P&gt;i think this one is correct might be, see attached&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000fHmT9AAK.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158316iB07B8F77B9DE2E3F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000fHmT9AAK.png" alt="0695b00000fHmT9AAK.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2023 21:04:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337690#M106008</guid>
      <dc:creator>dilip_n</dc:creator>
      <dc:date>2023-03-17T21:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to print total files size in folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337691#M106009</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;There is a global variable ((Integer)globalMap.get("tFileList_1_NB_FILE")) that counts the total number of files are found, you can use this global variable.&lt;/P&gt;&lt;P&gt;To get the total size of all files, you need to calculate the sum using tAggregateRow as you did.&lt;/P&gt;&lt;P&gt;tHashInput--main---tMap--tAggregateRow--tFileOutputDelimited&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on tMap, add a new column in the output table and set a fixed value (eg: "groupName"), this column will be used as group element on tAggreGateRow to sum up the file sizes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 01:29:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337691#M106009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-18T01:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to print total files size in folder</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337692#M106010</link>
      <description>&lt;P&gt;Thank you bro, now i got the solution.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Mar 2023 04:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-print-total-files-size-in-folder/m-p/2337692#M106010</guid>
      <dc:creator>dilip_n</dc:creator>
      <dc:date>2023-03-18T04:12:37Z</dc:date>
    </item>
  </channel>
</rss>

