unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Andrei POPESCU <andreimpopescu@gmail.com>
To: notmuch@notmuchmail.org
Subject: Re: OT: Sorting emails in maildir?
Date: Mon, 10 Dec 2012 15:40:22 +0200	[thread overview]
Message-ID: <20121210134022.GB6462@sid.nuvreauspam> (raw)
In-Reply-To: <50C5CE45.5060701@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1150 bytes --]

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
> >> 
> >> This is slightly offtopic, but I would like to move all emails in a Maildir 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 account, and this is
> >> slowing many things down.
> >> 
> >> Any suggestions?
> > 
> > mv?
> 
> I found
> 
> notmuch search --output=files $(date +%s -d 2010-01-01)..$(date +%s -d 2010-12-31)
> 
> and how I can create a maildir (http://plasmasturm.org/log/81/)
> 
> So now I have to pipe the result from the notmuch command above to mv and move it to
> $MAILDIR/ARCHIVE.2010/cur
> 
> Is this correct? How can I do this?

Above you wrote "all emails in a Maildir", which is why I suggested 
'mv'. For a more complex operation I would use my usual mail client 
(mutt in my case).

Kind regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  reply	other threads:[~2012-12-10 13:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-10 11:30 OT: Sorting emails in maildir? Rainer M Krug
2012-12-10 11:39 ` Andrei POPESCU
2012-12-10 11:57   ` Rainer M Krug
2012-12-10 13:40     ` Andrei POPESCU [this message]
2012-12-10 14:27       ` Rainer M Krug
2012-12-10 22:15         ` Maxim Vuets

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121210134022.GB6462@sid.nuvreauspam \
    --to=andreimpopescu@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).