<?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: tFileList &amp; tFileDelete - check and delete empty folders in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290440#M63722</link>
    <description>Unfortunately no, our files are named according to a certain key. Also, it is not through FTP.</description>
    <pubDate>Mon, 28 Mar 2016 02:29:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-28T02:29:07Z</dc:date>
    <item>
      <title>tFileList &amp; tFileDelete - check and delete empty folders</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290438#M63720</link>
      <description>Hello,&lt;BR /&gt;Is there a way to check a directory's subfolders if they are empty, and have them deleted?&lt;BR /&gt;Right now I check all the&lt;B&gt; files in all subfolders&lt;/B&gt; and delete them if they are older than 24hours&lt;BR /&gt;But after that, Id like to also&lt;B&gt; delete subfolders&lt;/B&gt; that are empty since all their files are older than 24hours and hence deleted.&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 22 Mar 2016 02:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290438#M63720</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-22T02:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: tFileList &amp; tFileDelete - check and delete empty folders</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290439#M63721</link>
      <description>Hi,
&lt;BR /&gt;Is your file named by date?&amp;nbsp;
&lt;BR /&gt;Here is an option "Delete Folder" in tFtpDelete component.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 23 Mar 2016 09:01:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290439#M63721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-23T09:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: tFileList &amp; tFileDelete - check and delete empty folders</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290440#M63722</link>
      <description>Unfortunately no, our files are named according to a certain key. Also, it is not through FTP.</description>
      <pubDate>Mon, 28 Mar 2016 02:29:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290440#M63722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-28T02:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: tFileList &amp; tFileDelete - check and delete empty folders</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290441#M63723</link>
      <description>&lt;P&gt;Hej Junmilsso,&lt;/P&gt;
&lt;P&gt;i know the post ist old, but maybe someone have the same issue as you.&lt;BR /&gt;I found a solution, you can use the tSystem-Component and insert the following Code:&lt;/P&gt;
&lt;PRE&gt;//with context-variable
"ROBOCOPY " + context.strArchiv_Folder_Path + " " + context.strArchiv_Folder_Path + " /S /MOVE"

//with fixed-value&lt;BR /&gt;"ROBOCOPY //muc1-vm0137/Scripte$/EXP/_IPAM_2.0/_archiv //muc1-vm0137/Scripte$/EXP/_IPAM_2.0/_archiv /S /MOVE"&lt;/PRE&gt;
&lt;P&gt;The script will delete all empty Folder under your Directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Greetings&lt;/P&gt;
&lt;P&gt;Magerquark&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2018 11:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFileList-tFileDelete-check-and-delete-empty-folders/m-p/2290441#M63723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-20T11:51:56Z</dc:date>
    </item>
  </channel>
</rss>

