Re: Managing Maildirs

From: Bill Campbell (freebsd_at_celestial.com)
Date: 12/21/03

  • Next message: Chris Shenton: "Re: large pop3 servers"
    Date: Sun, 21 Dec 2003 12:58:22 -0800
    To: freebsd-isp@freebsd.org
    
    

    On Sun, Dec 21, 2003, Ollie Cook wrote:
    >On Fri, Dec 19, 2003 at 11:00:55AM -0800, Bill Campbell wrote:
    >> Number one above will do the trick and is far more efficient than using the
    >> ``find ...-exec'', although you might want to modify it to only nuke mail
    >> over a certain age. To nuke all trash over 30 days old:
    >>
    >> find /home/*/Maildir/.Trash -type f -mtime +30 | xargs rm
    >
    >Using '-delete' rather than 'find ... | xargs rm' should be more efficient
    >still:
    >
    > find /home/*/Maildir/.Trash -type f -mtime +30 -delete

    Hmmm. That would be nice, but it seems to be BSD-centric. I don't see the
    ``-delete'' option in any version of find I have around, certainly not in
    the find from gnu:
            gfind . -name xxxxyyyyzzz -delete
            gfind: invalid predicate `-delete'

    I find using options like this leads to portability problems.

    Bill

    --
    INTERNET:   bill@Celestial.COM  Bill Campbell; Celestial Software LLC
    UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
    FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
    URL: http://www.celestial.com/
    ``Are we at last brought to such a humiliating and debasing degradation,
    that we cannot be trusted with arms for our own defense? Where is the
    difference between having our arms in our own possession and under our own
    direction, and having them under the management of Congress? If our defense
    be the real object of having those arms, in whose hands can they be trusted
    with more propriety, or equal safety to us, as in our own hands?''
        -- Patrick Henry June 9, 1788, in the Virginia Convention on the
        ratification of the Constitution.
    _______________________________________________
    freebsd-isp@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-isp
    To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
    

  • Next message: Chris Shenton: "Re: large pop3 servers"

    Relevant Pages

    • Re: A Model, American Firearms Policy (Long)
      ... The KEEPING of arms should be beyond the control ... would be inadequate just as it would be in the test of self defense. ... should be no restrictions on the possession and carry of firearms, ... isn't the carry of weapons which is a problem, but the use for which they ...
      (talk.politics.guns)
    • Re: OT: Guns Dont Kill People....
      ... right to bear arms to hunt for deer. ... It's a matter of defense. ... the bad guys are going to have automatic weapons, ... an invading army, 'a well regulated Militia. ...
      (alt.sports.football.pro.ne-patriots)
    • The Southeast Asian arms market
      ... The Southeast Asian arms market ... captive markets of the US defense industry, ...
      (soc.culture.malaysia)
    • Re: The joys of dog ownership
      ... She knows it's funny and endearing, too, and will play it for all it's worth, occasionally spontaneously Pupping Up into a surprised stranger's arms at the end of her trick routine. ... Zane only weighs ten pounds more but somehow manages to convert himself in mid air into an ultra dense mass of elbows, bone-y hips, toenails and rock-hard skull. ...
      (rec.pets.dogs.behavior)
    • Re: results are in
      ... Lossandra, I have very little body fat except for the ever encroaching ... The trick on thighs and arms to keep from going ... If you use the Autoject 2 the trick is to set the depth at about '6' ... I actually like shooting without the injecter except my ...
      (alt.support.mult-sclerosis)