On Tue, 2005-02-08 at 15:55 +0100, Bastian Balthazar Bux wrote:
> Joel Merrick ha scritto:
>
> >Hi guys,
> >
> >I've built up a LARGE (>140Mb) IMAP mailbox over the past few months and
> >was wondering if there's a way to archive this mail, but still have it
> >available to view (via https or something)
> >
> >Thoughts?
> >
> >
> >
> >
> # find . -mtime +120 -exec tar -rvf mail_archive.tar {} \; -exec rm {} \;
> # bzip2 mail_archive.tar
>
> this should add to mail_archive.tar.bz2 and remove all the files last
> modified more than 120 days ago
>
> alternatives to -mtime are
> -atime
> -ctimeThat looks great, you always gotta love one-liners :) I'm ideally looking for something that will archive the mail for online use. Looking at it, it should be fairly trivial to implement something, but is there anything out there that can do this already? > > Francesco > > -- > [email protected] mailing list > -- Joel Merrick email: <[EMAIL PROTECTED]> mobile: 07929 208 567 ServiceStyle Ltd. - Manchester's Technology Experts https://www.servicestyle.com GPG Public Key - https://www.servicestyle.com/joel_servicestyle.asc
signature.asc
Description: This is a digitally signed message part
