[X4U] Just curious, Emptying trash

John Daschbach jldasch at mac.com
Tue Mar 14 07:43:54 PST 2006


I used MPW a bit in classic but I didn't find it that great.  Perhaps  
it was because all of the standard Unix stuff wasn't there.  On OS X  
(and Unix) I run most of my shells inside an Emacs buffer.  A useful  
way to empty the trash is to delete old files automatically.  I  
usually put the command in a shell script (using chmod u+x) and put  
that in my crontab.  The following can be used for this

cd /Users/MyHome/.Trash && find . -mtime +30 -exec rm -f {} \;

This will delete any file with a modification time more than 30 days  
old.

Note that with great power comes great responsibility.  If you forget  
the cd command you can hose your whole directory tree.

-John

On Mar 13, 2006, at 10:04 PM, Doug McNutt wrote:

> At 15:46 -0800 3/13/06, Daly Jessup wrote:
>> So you are not talking about the OS X GUI interface at all. But  
>> you tweaked my curiosity. Could you explain what you mean by  
>> "BBEdit worksheet"? I've just had a pleasant excursion into BBEdit  
>> Help but don't find the answer there, at least not in those words.  
>> I gather you are using some aspect of BBEdit AS "terminal"?
>
> BBEdit worksheets are the closest one can come to Apple's MPW  
> worksheet (classic only) on OS neXt.
>
> You need a paid version of BBEdit version 6 or higher (8 is  
> current). File_new offers an option to create a worksheet. You  
> specify a shell and you can execute commands by selecting them and  
> ENTERing. The enter key is NOT the same as a return key which  
> simply terminates a line. Output from a tool to stdout is "printed"  
> into the worksheet right after the selection. The first worksheet  
> you create contains instructions and some samples.
>
> Having run all of my classic Macs from MPW I cannot believe that  
> everyone doesn't use a worksheet.
>
> -- 
>
> Applescript syntax is like English spelling:
> Roughly, but not thoroughly, thought through.
> _______________________________________________
> X4U mailing list
> X4U at listserver.themacintoshguy.com
> http://listserver.themacintoshguy.com/mailman/listinfo/x4u
>
> Listmom is trying to clean out his closets! Vintage Mac and random  
> stuff:
>          http://search.ebay.com/_W0QQsassZmacguy1984



More information about the X4U mailing list