Re: Move messages instead of Copy
- To: mutt-users@xxxxxxxx
- Subject: Re: Move messages instead of Copy
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Tue, 4 Mar 2008 10:50:55 -0600
- Cc: Bill Moseley <moseley@xxxxxxxx>
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date: from:to:cc:subject:message-id:references:mime-version: content-type:in-reply-to; q=dns/txt; s=default; bh=H/cSwoDl+BOa7 6xd2vnkh3Sde10=; b=TVggMb07n0YCg/3ngtUDTu1kSSM9Meo5dvxnvtwUFa75D FSwl4D7Mv9ZiZbrxM6NswFNF8GmrRdsd9z+jvRrd4my0s874tny3omAupuiy1XI2 q105d+sNlPsAJQ+zXwk9FiXBGNCIhwbmDagsvCs4fpgaOyGRnOR+Nld+ZuXVH0=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=bkxMeXrUfbq43f+4vSUZlFA2hhiiXxO0JJgNy6mtX3MOeoBZAe6wuu0Fyf3mJA3Lw4xhUMeXyF1qZEOzUnsI5SOYX5JoLcHwfOWFVy0YYWXej8IP+cw+Kf1N0fRxNj7e76rgEyB5polLgIHPwNA+1hb69+TVoFlSdBxpoiaSxEo=; h=Received:Received:Date:From:To:Cc:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080304164525.GA18336@xxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx, Bill Moseley <moseley@xxxxxxxx>
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080304164525.GA18336@xxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.17 (2008-02-27)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday, March 4 at 08:45 AM, quoth Bill Moseley:
> I need a cron job to do this automatically, but every so often I want
> to move old messages out of my mailbox (it's a bit slow loading my IMAP
> folders when they go over 20K messages or so). So I'll do something
> like:
>
> ~d>2m
> ;C=oldfoo
>
> Then after that is done I delete the tagged messages
>
> ;d
> $
>
> Is there a way to do that in a single operation?
In a single operation you can move and mark-deleted (;s=oldfoo), and
you can make the whole thing a macro, of course.
If your IMAP connection is slow, though, you may want to consider
using mutt's hcache support, which will dramatically speed things up.
~Kyle
- --
To laugh often, to win the affection of children, to earn the
appreciation of honest critics and endure the betrayal of false
friends, to appreciate beauty, to find the best in others, to leave
the world a bit better, whether by a healthy child, a garden patch...
to know even one life has breathed easier because you have lived. This
is to have succeeded!
-- Emerson
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!
iD8DBQFHzX3vBkIOoMqOI14RAjqQAKCC7PO5h0h3eMM4XyYWPTejCOu/MACfZ2JR
/aby49Hqx1bukpxFtP/yZHs=
=Bd7R
-----END PGP SIGNATURE-----