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: Living Forever (Poll)
      ... the non-ageing trick. ... when a ceertain percentage of an age group was dead (BOTE; ... that's not something the character would do to the ... what to do about the non-ageing trick when you ...
      (rec.arts.sf.written)
    • 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: Apple scripts dont work for IMAP?
      ... It deltes the email from spam, but then move it so the trash. ... The old nuke, would really nuke! ...
      (microsoft.public.mac.office.entourage)
    • Re: *Fifthflip Competition*
      ... Age: 16 Years Old! ... Time Riding: 7 years, but extremely, only One and 3 months... ... Favorite Trick that I can do: Many flat combos:D ...
      (rec.sport.unicycling)