<div dir="ltr">Not according the the test case I just ran.  <div><br></div><div> mkdir test<br></div><div>for x in {a..z}; do mkdir test/$x; for z in {a..w}; do touch test/${x}/${z}.PA; touch test/${x}/${z}.keep; done; done<br>
</div><div>touch keep.PA</div><div>find test/ -type f -name &quot;*.PA&quot; -delete<br></div><div><div> ls *.PA</div><div>keep.PA</div></div><div><br></div><div>Feel free to verify the contents before and after.  Works for me.</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 10, 2014 at 2:37 PM, Rick Hornsby <span dir="ltr">&lt;<a href="mailto:richardjhornsby@gmail.com" target="_blank">richardjhornsby@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div class=""><br><div><div>On Aug 10, 2014, at 13:34, Chris Embree &lt;<a href="mailto:cembree@ez-as.net" target="_blank">cembree@ez-as.net</a>&gt; wrote:</div>
<br><blockquote type="cite"><div dir="ltr">This should work:  find /top/dir/to/search/ -type f -name &quot;*.PA&quot; -delete</div></blockquote><div><br></div></div></div><div>That will delete everything at the current directory as well.</div>
<div><div class="h5"><div><div><br></div><div><br></div><br><blockquote type="cite"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Aug 10, 2014 at 2:25 PM, Stephen Potter <span dir="ltr">&lt;<a href="mailto:spp@unixsa.net" target="_blank">spp@unixsa.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>How about &quot;rm *.PA/*&quot;<br>
      <br>
      -spp<div><div><br>
      <br>
      <br>
      On 8/10/2014 1:53 PM, Keith Larson wrote:<br>
    </div></div></div>
    <blockquote type="cite"><div><div>
      
      
      
      <div>
        <div>I am searching for a way to empty the contents of a bunch
          of folders without removing the folders themselves AND leave
          other files at the currect directory level alone.  </div>
        <div> </div>
        <div>I have a bunch of print queue folders.</div>
        <div> </div>
        <div>du -shc *.PA </div>
        <div> </div>
        <div>shows these results</div>
        <div> </div>
        <div>199M <a href="http://4a81c53f.pa/" target="_blank">4A81C53F.PA</a><br>
          941K <a href="http://4a81d556.pa/" target="_blank">4A81D556.PA</a><br>
          0 <a href="http://4a81d56d.pa/" target="_blank">4A81D56D.PA</a><br>
          192K <a href="http://4a81d582.pa/" target="_blank">4A81D582.PA</a><br>
          632K <a href="http://4a81d598.pa/" target="_blank">4A81D598.PA</a><br>
          0 <a href="http://4a81d5ad.pa/" target="_blank">4A81D5AD.PA</a><br>
          254M <a href="http://4a81d5c0.pa/" target="_blank">4A81D5C0.PA</a><br>
          0 <a href="http://4a81df1b.pa/" target="_blank">4A81DF1B.PA</a><br>
          0 <a href="http://4a81df45.pa/" target="_blank">4A81DF45.PA</a></div>
        <div> </div>
        <div>All folders have a .PA extension so they are easily
          identified.</div>
        <div> </div>
        <div>You can see that some are empty and some have files (print
          jobs) in them.  I want to delete all files from WITHIN these
          folders and nothing else.</div>
        <div> </div>
        <div>Can someone help with a single command that will do this?</div>
        <div> </div>
        <div> </div>
        <span style="margin-bottom:5px;display:block"> </span></div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
colug-432 mailing list
<a href="mailto:colug-432@colug.net" target="_blank">colug-432@colug.net</a>
<a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
colug-432 mailing list<br>
<a href="mailto:colug-432@colug.net" target="_blank">colug-432@colug.net</a><br>
<a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>colug-432 mailing list<br><a href="mailto:colug-432@colug.net" target="_blank">colug-432@colug.net</a><br><a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a><br>
</blockquote></div><br></div></div></div><br>_______________________________________________<br>
colug-432 mailing list<br>
<a href="mailto:colug-432@colug.net">colug-432@colug.net</a><br>
<a href="http://lists.colug.net/mailman/listinfo/colug-432" target="_blank">http://lists.colug.net/mailman/listinfo/colug-432</a><br>
<br></blockquote></div><br></div>