<?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 How to get the good files listing in unix in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-get-the-good-files-listing-in-unix/m-p/710866#M37974</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using find command below to get the list of the subfolder that are not empty or that do not contains the name old and it works fine.&lt;/P&gt;
&lt;P&gt;find&amp;nbsp;/dwh_operation/sasprocess/smp_production/smp_ref/&amp;nbsp;-not -empty -not -name old -type d&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then imagine that I obtains Path1 and Path2 as results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What will be the unix command if I want the list of the files found in path1 and path2 , in one shot but not the files in their respective subfolder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I though it could be something like find path1 || path2 -not -type d&lt;/P&gt;
&lt;P&gt;but I am getting all the files of their subfolder.&amp;nbsp; I just want to get the files name in Path1 and Path2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does someone can help me with that issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Jan 2021 17:21:41 GMT</pubDate>
    <dc:creator>alepage</dc:creator>
    <dc:date>2021-01-12T17:21:41Z</dc:date>
    <item>
      <title>How to get the good files listing in unix</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-get-the-good-files-listing-in-unix/m-p/710866#M37974</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am using find command below to get the list of the subfolder that are not empty or that do not contains the name old and it works fine.&lt;/P&gt;
&lt;P&gt;find&amp;nbsp;/dwh_operation/sasprocess/smp_production/smp_ref/&amp;nbsp;-not -empty -not -name old -type d&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then imagine that I obtains Path1 and Path2 as results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What will be the unix command if I want the list of the files found in path1 and path2 , in one shot but not the files in their respective subfolder.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I though it could be something like find path1 || path2 -not -type d&lt;/P&gt;
&lt;P&gt;but I am getting all the files of their subfolder.&amp;nbsp; I just want to get the files name in Path1 and Path2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does someone can help me with that issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 17:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-get-the-good-files-listing-in-unix/m-p/710866#M37974</guid>
      <dc:creator>alepage</dc:creator>
      <dc:date>2021-01-12T17:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the good files listing in unix</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-get-the-good-files-listing-in-unix/m-p/710877#M37975</link>
      <description>&lt;P&gt;Do a simple ls on those directories, or use the -maxdepth option of find (&lt;A href="https://man7.org/linux/man-pages/man1/find.1.html" target="_blank" rel="noopener"&gt;https://man7.org/linux/man-pages/man1/find.1.html&lt;/A&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jan 2021 18:00:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-to-get-the-good-files-listing-in-unix/m-p/710877#M37975</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-01-12T18:00:38Z</dc:date>
    </item>
  </channel>
</rss>

