[X-Unix] Trying to get rid of unwanted files

Larry Helms lhelms at sonic.net
Thu May 13 07:17:11 PDT 2004


[cron schedule date/time stuff] cd /var/spool/cups; rm *; {other commands
you want to perform}

> From: Mark Gibson <gibsonm at bigpond.net.au>
> Reply-To: "Mac OS X Unix" <X-Unix at lists.themacintoshguy.com>
> Date: Fri, 14 May 2004 00:09:24 +1000
> To: "Mac OS X Unix" <X-Unix at lists.themacintoshguy.com>
> Subject: [X-Unix] Trying to get rid of unwanted files
> 
> Hi,
> 
> I'm one of many suffering from OS 10.3.3's print server bloat problem
> (the /var/spool/cups/tmp directory files with 1000's of files and the
> print service chokes and fails).
> 
> I've written a cron task to clean out the /tmp folder but I'm trying
> to find a suitable Unix command to clean out the /cups folder,
> leaving the /tmp folder behind.
> 
> I want to end up with two tasks, one that cleans /tmp (deletes the
> contents) and one that removes everything from /cups except the /tmp
> directory.
> 
> Can anyone point this GUI user in the right direction (please keep it simple)?
> -- 
> Regards,
> 
> Mark (}-:
> 
> AIM / iChat: gibsonm1
> 
> "I'd rather have a frontal lobotomy than Windoze in front of me..."
> -- Brian J. Lowry
> 
> 
> 
> ----------
> Check out the Mac OS X email list FAQ
> http://www.themacintoshguy.com/lists/X.html
> 
> To unsubscribe, E-mail to: <X-Unix-off at lists.themacintoshguy.com>
> To switch to the DIGEST mode, E-mail to
> <X-Unix-digest at lists.themacintoshguy.com>
> Need help from a real person? Try.  <X-Unix-request at lists.themacintoshguy.com>
> 
> ----------
> $14.99 Unlimited Nationwide Mac Dialup and Mac Web Hosting from your Mac ISP
> Serious Mac Internet Solutions From NineWire!   http://macinternetaccess.com
> 
> DVIator   | Run Dual ADC displays on your G4 or just one on an older Mac!
> Dr. Bott  | <http://www.drbott.com/prod/DVIator.html>
> 
>  Support   | Support this list by clicking here before you buy!
> this List  |  http://www.themacintoshguy.com/support.html
> 
> OS X News, Dr.Mac, Forums, Tutorials, Tips, Hints, FAQ?s -
> http://www.osxfaq.com
> 



More information about the X-Unix mailing list