<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">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)">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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. </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><!--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> </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 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>