Re: mbox-Dateien per Skript sortieren

From: Nicolas Rachinsky <fbsd-de-0(at)ml.turing-complete.org>
Date: Sat, 6 Aug 2011 12:03:58 +0200

* Marc Santhoff <M.Santhoff(at)web.de> [2011-08-06 11:46 +0200]:
> nach nochmaligem Lesen der Manpage zu $ports/mail/grepmail brauche ich
> eigentlich ein grepmail, daß nicht nur suchen sondern auch aus der
> Quelle löschen kann.

Im Prinzip sollte das funktionieren:
grepmail -v bedingung box >box.tmp
mv box.tmp box

Du mußt halt dafür sorgen, daß niemand parallel was mit der
mbox macht (passendes Locking oder manuell).

Nicolas

-- 
http://www.rachinsky.de/nicolas
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Sat 06 Aug 2011 - 12:04:04 CEST

search this site