<?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 deleting empty folders in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/deleting-empty-folders/m-p/447136#M112257</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking for a way to only delete folders (and sub folders) which do not contain any files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example let's say that c:\2013 (and all of its underlying folders and files) do not contain any files, just folders, how can I get rid of c:\2013 as a whole ? c:\2012 and c:\2014 should remain just like they are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Situation before deleting empty folders&lt;/P&gt;&lt;P&gt;c:\2012&lt;/P&gt;&lt;P&gt;c:\2013&lt;/P&gt;&lt;P&gt;c:\2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Situation after deleting folders&lt;/P&gt;&lt;P&gt;c:\2012&lt;/P&gt;&lt;P&gt;c:\2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;</description>
    <pubDate>Tue, 20 Mar 2018 14:41:01 GMT</pubDate>
    <dc:creator>Billybob73</dc:creator>
    <dc:date>2018-03-20T14:41:01Z</dc:date>
    <item>
      <title>deleting empty folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/deleting-empty-folders/m-p/447136#M112257</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm looking for a way to only delete folders (and sub folders) which do not contain any files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example let's say that c:\2013 (and all of its underlying folders and files) do not contain any files, just folders, how can I get rid of c:\2013 as a whole ? c:\2012 and c:\2014 should remain just like they are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Situation before deleting empty folders&lt;/P&gt;&lt;P&gt;c:\2012&lt;/P&gt;&lt;P&gt;c:\2013&lt;/P&gt;&lt;P&gt;c:\2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Situation after deleting folders&lt;/P&gt;&lt;P&gt;c:\2012&lt;/P&gt;&lt;P&gt;c:\2014&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;B&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 14:41:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/deleting-empty-folders/m-p/447136#M112257</guid>
      <dc:creator>Billybob73</dc:creator>
      <dc:date>2018-03-20T14:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: deleting empty folders</title>
      <link>https://communities.sas.com/t5/SAS-Programming/deleting-empty-folders/m-p/447147#M112262</link>
      <description>&lt;P&gt;Do have to do this with sas? See Maxim 14 in &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Maxims-of-Maximally-Efficient-SAS-Programmers/ta-p/352068" target="_self"&gt;Maxims of Maximally Efficient SAS Programmers.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sure that a powershell script exists to clean up empty folders.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 14:56:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/deleting-empty-folders/m-p/447147#M112262</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-03-20T14:56:50Z</dc:date>
    </item>
  </channel>
</rss>

