[X-Unix] Trying to get rid of unwanted files
Al Simcoe
alsimcoe at alsimcoe.com
Thu May 13 07:40:46 PDT 2004
This user definitely need s "New Life" !
If he can not multitask in Life, maybe he should go back and apply his
talents on a Commodore C64 rather then play in the OS X world !!
Maybe he should not use his iPod at home either. He may not hear his
Door Bell or hear his Security Alarm go off !
-A-
-------
Once you go Mac, you'll never go back !
"The box said, Requires Windows 95, or better. So I bought a Macintosh"!
On May 13, 2004, at 10:26 AM, Mark Gibson wrote:
> At 07:17 -0700 13/5/04, Larry Helms wrote:
>> [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
>
> Yes,
>
> But wont that remove /tmp as well?
>
> /tmp is in /cups (i.e. /var/spool/cups/tmp). I need something that
> removes the files but leaves the structure intact.
>
> Happy to be corrected BTW.
> --
> Regards,
>
> Mark (}-:
>
> AIM / iChat: gibsonm1
>
> Fleschely janglers, opyn preisers and blamers of hemself or of any
> other, tithing tellers, rouners and tutilers of tales, and alle maner
> of pinchers, kept I never that thei sawe this book -- C.O.U
>
>
>
> ----------
> 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