Put this in a file:

 #!/bin/sh
 
 find / -type f -name dead.letter -print -exec rm {} \;
 
Make it executable (chmod 700) and run that (from cron)
 
 J.
 
| ----- Original Message ----- 
| From: "Steve Lee" <[EMAIL PROTECTED]>
| To: "RedHat Maillist" <[EMAIL PROTECTED]>
| Sent: Friday, December 10, 1999 8:43 PM
| Subject: script
| 
| 
| | I'm no programmer.
| | can somoone show me a quick
| | script that would run through
| | the whole system to remove
| | dead.letters off the system.
| | 
| | After that i could setup cron to do
| | this every other day.
| | 
| | Thanks
| | 
| | 
| | -- 
| | To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
| | as the Subject.
| | 
| 


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to