[Gllug] Maildir Archiving
countd
countd42 at googlemail.com
Wed Mar 12 10:26:01 UTC 2008
On Wed, Mar 12, 2008 at 10:15 AM, countd <countd42 at googlemail.com> wrote:
> On Tue, Mar 11, 2008 at 9:01 PM, Ben Whyte <ben at whyte-systems.co.uk> wrote:
> > I am am trying to archive up some mailboxes that are in mail dir format.
> >
> > They all live under a specific directory.
> >
> > I am looking to archive all the mail older than 90 days, preferably
> > taring the files up before moving them off.
>
> What about using find? eg:
> find ~/Maildir/cur -type f -mtime +90 -print0|xargs -0 -i mv {}
> ~/Maildir/.archive/cur
Sorry didn't read the preferably tar part - had a late night. :) The
principal is the same though.
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list