Re: Managing Maildirs

From: Ollie Cook (ollie_at_uk.clara.net)
Date: 12/21/03

  • Next message: Bill Campbell: "Re: Managing Maildirs"
    Date: Sun, 21 Dec 2003 12:06:50 +0000
    To: freebsd-isp@freebsd.org
    
    

    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

    Ol.

    -- 
    Oliver Cook    Systems Administrator, Claranet UK
    ollie@uk.clara.net                  020 7903 3065
    _______________________________________________
    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: Bill Campbell: "Re: Managing Maildirs"

    Relevant Pages

    • Re: Phase Cloning Responses
      ... presentation of 'phase cloning' in a continuous stream of trash talk, ... Whatever 'trick' you may have found ... is at best an obfuscated triviality; ...
      (comp.dsp)
    • Re: Phase Cloning Responses
      ... presentation of 'phase cloning' in a continuous stream of trash talk, ... Whatever 'trick' you may have found ... is at best an obfuscated triviality; ...
      (comp.dsp)
    • Re: (possibly OT) DRM (opin ion from the NY Times)
      ... this realization at an earlier age. ... practiced doing that trick. ... Growing up in and around NYC, I started out a little fiesty because ... got more fiesty after she retired for the same reasons you stated too. ...
      (alt.sys.pc-clone.dell)
    • Re: Kathy and a double standard?
      ... Are you more willing to trash a strong guy as compared to a broken down ... skinny older woman a break any day. ... In fact, in context, it makes more sense that strength and/or age were ...
      (alt.tv.survivor)
    • Re: tech:Lexicon 224xl manual
      ... >> I have the same problem, I wonder if a hard reset would do the trick? ... I'm guessing it's a logic ... Given the age and all, I've just decided to live with it as is. ...
      (rec.audio.pro)