Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id CD049431FB6 for ; Mon, 10 Dec 2012 05:40:27 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qZkQDNm77uWi for ; Mon, 10 Dec 2012 05:40:27 -0800 (PST) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 178D5431FAF for ; Mon, 10 Dec 2012 05:40:26 -0800 (PST) Received: by mail-bk0-f53.google.com with SMTP id j5so1139687bkw.26 for ; Mon, 10 Dec 2012 05:40:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=5w+i9wP9kgmh0YLLQ4nD7cg0h0Kk0GeZY3xPS1hLJM0=; b=HHHk8d7yFTAKoMEanSCLrBdB0VsedmUJ9iLTa+yuI0MFDdxi5VzhrKpj+adqTWW4yp VN11dL7VbwRkl3n07K783nqWD0vymKnJN793dFGwZuUU0Hg4mxOx6YrlqYF4IqyZqFZh Mudpw6FjDQejqKZ3Xy6JJ7keLJjuVuOpSI1eSe9g+PF0Tq9nnnZK8VhXtRxXu9pJ6sAU gVCRg5zkNkdMikeBvYRxx1j3Mr9mywT/chEtiBEHDMDpg3AhINXfL8exs7IqjogyMPNn T6w0+5lFy69PwnccYMTWhaD38h7Ju3siNgvpGrbNeNaW0/U3e9MgSLTAo9S0a7Dvd5Si gLbw== Received: by 10.204.5.69 with SMTP id 5mr4351882bku.26.1355146825799; Mon, 10 Dec 2012 05:40:25 -0800 (PST) Received: from sid.nuvreauspam ([92.86.142.199]) by mx.google.com with ESMTPS id m20sm14059445bkw.4.2012.12.10.05.40.24 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 05:40:24 -0800 (PST) Received: by sid.nuvreauspam (Postfix, from userid 1077) id 6AA2BC1048; Mon, 10 Dec 2012 15:40:22 +0200 (EET) Date: Mon, 10 Dec 2012 15:40:22 +0200 From: Andrei POPESCU To: notmuch@notmuchmail.org Subject: Re: OT: Sorting emails in maildir? Message-ID: <20121210134022.GB6462@sid.nuvreauspam> References: <20121210113922.GE3507@sid.nuvreauspam> <50C5CE45.5060701@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4bRzO86E/ozDv8r1" Content-Disposition: inline In-Reply-To: <50C5CE45.5060701@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 13:40:27 -0000 --4bRzO86E/ozDv8r1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Lu, 10 dec 12, 12:57:57, Rainer M Krug wrote: > On 10/12/12 12:39, Andrei POPESCU wrote: > > On Lu, 10 dec 12, 12:30:32, Rainer M Krug wrote: > >> Hi > >>=20 > >> This is slightly offtopic, but I would like to move all emails in a Ma= ildir folder into an > >> Archive folder. What is the easiest way of doing this? I assume I ave = to do this outside > >> notmuch, but is there an easy way? I have 250 000 emails on my gmail a= ccount, and this is > >> slowing many things down. > >>=20 > >> Any suggestions? > >=20 > > mv? >=20 > I found >=20 > notmuch search --output=3Dfiles $(date +%s -d 2010-01-01)..$(date +%s -d = 2010-12-31) >=20 > and how I can create a maildir (http://plasmasturm.org/log/81/) >=20 > So now I have to pipe the result from the notmuch command above to mv and= move it to > $MAILDIR/ARCHIVE.2010/cur >=20 > Is this correct? How can I do this? Above you wrote "all emails in a Maildir", which is why I suggested=20 'mv'. For a more complex operation I would use my usual mail client=20 (mutt in my case). Kind regards, Andrei --=20 If you can't explain it simply, you don't understand it well enough. (Albert Einstein) --4bRzO86E/ozDv8r1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBCAAGBQJQxeZGAAoJEHNWs3jeoi3pFH0H/AvwF+BWSerBdd5C7h8WEC0X zFe+qxI65IvG/ks04nAvcQhgaBzuKKIMAq7ivWyE4/OUWBIAfnczpYv55dFl9HPz mwbmMldS86DQ0y5zEX5po7Ia5z3hJ6Doa/yE9Z1jFDOTujL0TfjeDaYr+emTUkIs 1npjoFbDLpxarms+G77/617E4ZZsV1CI9G46whQiLemaD/ue5bUqOLFzSqXz/vnK P9kzb2DKR6KdKsYMyNPOV1SM8qsbd3KmA5qWvzLFTqJIoyxRtMmmzmrOrLX+W5Rk YXHTbVeWra93No9XG+DjJkgWWBXgfw6Myvlrt55AjSBMnKrTVNSO2FxfsfLq9xQ= =fGJP -----END PGP SIGNATURE----- --4bRzO86E/ozDv8r1--