<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">I'm misunderstanding your question, or
      everyone else is.<br>
      <br>
      Are the files named *.PA or are the directories named *.PA?<br>
      <br>
      What are the names of the files within the directories?&nbsp;&nbsp; And, is
      the print spooler still running?<br>
      <br>
      Assuming:<br>
      &nbsp;&nbsp;&nbsp; the directories are *.PA<br>
      &nbsp;&nbsp;&nbsp; the files inside are regular files (not hidden files)<br>
      &nbsp;&nbsp;&nbsp; the print spooler isn't running (new jobs aren't getting
      created and deleted)<br>
      &nbsp;&nbsp;&nbsp; you are running as root (or someone else with the appropriate
      permissions)<br>
      <br>
      The command I gave you will delete only the files and not the
      print queue directories.&nbsp; Although, honestly, I'm not sure why you
      want to keep the queue directories.&nbsp; The directories should be
      deleted when the job is completed anyway.<br>
      <br>
      Oh, make sure you are running /bin/rm and you don't have some
      weirdo alias horking things up.<br>
      <br>
      -spp<br>
      <br>
      On 8/10/2014 2:35 PM, Keith Larson wrote:<br>
    </div>
    <blockquote cite="mid:53E78348020000160000FCE0@k12group.net"
      type="cite">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="Generator" content="Novell Groupwise Client (Version
        14.0.0 Build: 115243)">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div class="GroupWiseMessageBody"
id="GroupWiseSection_1407695473000_klarson@k12group.net_59511A0513870000BD1BF681F57056B0_">
        <div>that's what I thought, but no.</div>
        <div>rm: cannot remove `*.PA/*': No such file or directory<br>
        </div>
        <span id="GWSignatureSent" style="padding-right: 0px;
          padding-left: 0px; margin-bottom: 5px; display: block;"><span
            style="display: block;"><br>
            <span style="font-size: 10pt; display: inline-block;
              -ms-word-wrap: normal;">
              <div>Keith Larson</div>
              <div>Franklin Computer Services - K12group</div>
              <div><a moz-do-not-send="true"
                  href="mailto:klarson@k12group.net">klarson@k12group.net</a></div>
              <div>(614) 561-4887 (mobile)</div>
              <div>&nbsp;</div>
            </span></span></span><span style="margin-bottom: 5px;
          display: block;">&nbsp;</span>
        <div class="GroupWiseMessageBody"
          id="GroupWiseSection_1407695113000_spp@unixsa.net"><span
            class="GroupwiseReplyHeader">&gt;&gt;&gt; Stephen Potter
            <a class="moz-txt-link-rfc2396E" href="mailto:spp@unixsa.net">&lt;spp@unixsa.net&gt;</a> 8/10/2014 2:25 PM &gt;&gt;&gt;<br>
          </span>
          <div><span style="background-color: rgb(255, 255, 255);"
              text="#000000" bgcolor="#FFFFFF">&gt;
              <div class="moz-cite-prefix">How about "rm *.PA/*"<br>
                <br>
                -spp<br>
                <br>
                <br>
                On 8/10/2014 1:53 PM, Keith Larson wrote:<br>
              </div>
              <blockquote
                cite="mid:53E77959020000160000FCD6@k12group.net"
                type="cite">
                <meta http-equiv="X-UA-Compatible" content="IE=edge">
                <meta name="Generator" content="Novell Groupwise Client
                  (Version 14.0.0 Build: 115243)">
                <div class="GroupWiseMessageBody"
id="GroupWiseSection_1407692903000_klarson@k12group.net_59511A0513870000BD1BF681F57056B0_">
                  <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.&nbsp; </div>
                  <div>&nbsp;</div>
                  <div>I have a bunch of print queue folders.</div>
                  <div>&nbsp;</div>
                  <div>du -shc *.PA </div>
                  <div>&nbsp;</div>
                  <div>shows these results</div>
                  <div>&nbsp;</div>
                  <div><!--StartFragment-->199M 4A81C53F.PA<br>
                    941K 4A81D556.PA<br>
                    0 4A81D56D.PA<br>
                    192K 4A81D582.PA<br>
                    632K 4A81D598.PA<br>
                    0 4A81D5AD.PA<br>
                    254M 4A81D5C0.PA<br>
                    0 4A81DF1B.PA<br>
                    0 4A81DF45.PA</div>
                  <div>&nbsp;</div>
                  <div>All folders have a .PA extension so they are
                    easily identified.</div>
                  <div>&nbsp;</div>
                  <div>You can see that some are empty and some have
                    files (print jobs) in them.&nbsp; I want to delete all
                    files from WITHIN these folders and nothing else.</div>
                  <div>&nbsp;</div>
                  <div>Can someone help with a single command that will
                    do this?</div>
                  <div>&nbsp;</div>
                  <div>&nbsp;</div>
                  <span style="margin-bottom: 5px; display: block;">&nbsp;</span></div>
                <div>&nbsp;</div>
                <fieldset class="mimeAttachmentHeader"></fieldset>
                <div>&nbsp;</div>
                <pre wrap="">_______________________________________________
colug-432 mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:colug-432@colug.net">colug-432@colug.net</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a>
</pre>
              </blockquote>
              <div>&nbsp;</div>
            </span></div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
colug-432 mailing list
<a class="moz-txt-link-abbreviated" href="mailto:colug-432@colug.net">colug-432@colug.net</a>
<a class="moz-txt-link-freetext" href="http://lists.colug.net/mailman/listinfo/colug-432">http://lists.colug.net/mailman/listinfo/colug-432</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>