ah. by the way...

this is a bash script i just made with some helpful dude from xchat.

#!/bin/sh

###############################################
#This script will remove all .com files from
#the froz directories in the spool directories.
#use at own risk.
################################################
#writen by James Pye, rhid.com
#idea: Philipp Ringli, www.sichtwerk.com
################################################

set -x

cd /var/MailRoot/spool/ || exit

for fd in *; do
         OLD1="$PWD"
         test "$fd" = "local" -o "$fd" = "temp" && continue
         cd "$fd" || continue
         for d in *; do
                 OLD2="$PWD"
                 cd "$d" || continue
                 for f in froz/*.com; do
                         rm -f "$f"
                 done
                 cd "$OLD2"
         done
         cd "$OLD1"
done

maybe it's useful to some folks... ;-)

cheers,
phil


----------------------------
sichtwerk gmbh
werk2
fabrikstrasse 8
8370 sirnach
switzerland
*************************************
phone ++41 (0)71 960 07 70
and always mobile ++41 (0)79 750 87 74
[EMAIL PROTECTED]
http://www.sichtwerk.com

fight spammers:
X-Mulct: http://www.subsume.com/cgi-bin/go.pl?k=X-Mulct 

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to