On Tue, Apr 10, 2012 at 08:25:22AM -0600, Daren Lord wrote:
Here is what I use, with offlineimap I do a pre-sync hook and
basically run
this:
notmuch search --output=files -- tag:archive and not tag:archived | xargs
-I{} mv -f {} /Users/user/Mail//Archive/cur/
notmuch tag -archive +archived -- tag:archive
You can see I actually retag archive tags to archived so that I don't try
and re-copy mail that is "archived"
Hrm...aren't there problems with doing that 'mv' operation on the
Maildirs? I mean, can't there be a conflict? I thought that apps that
supported Maildir had collision avoidance code for the naming - or is
that implicit in the naming, and it will just work?
I'm concerned because my Archive folder has 20k messages and counting -
I really don't want to start overwriting old mail.
Thanks,
AJ
On Tue, Apr 10, 2012 at 8:16 AM, AJ Lewis
<aj.lewis(a)quantum.com> wrote:
> Hey all,
>
> This may be a mutt newb question, but I'm trying to enhance the
> 'archive' example in the README.notmuch to also move the message to an
> 'archive' folder, and I'm having problems.
>
> I'd like to do something like:
> macro index A "<modify-labels-then-hide>+archive
> -inbox\n<save-message>=archive<return><sync-mailbox>"
>
> But that doesn't seem to do what I want it to.
>
> Any ideas?
>
> Thanks,
> --
> AJ Lewis
> Software Engineer
> Quantum Corporation
>
> Mobile: 612 860-8068
> Work: 651 688-4346
> YahooIM: vortechs2000
> AIM: v0r73chz
> MSN: vortechs2000(a)yahoo.com
> email: aj.lewis(a)quantum.com
>
> ----------------------------------------------------------------------
> The information contained in this transmission may be confidential. Any
> disclosure, copying, or further distribution of confidential information is
> not permitted unless such privilege is explicitly granted in writing by
> Quantum. Quantum reserves the right to have electronic communications,
> including email and attachments, sent across its networks filtered through
> anti virus and spam software programs and retain such messages in order to
> comply with applicable data security and retention requirements. Quantum is
> not responsible for the proper and complete transmission of the substance
> of this communication or for any delay in its receipt.
> _______________________________________________
> mutt-kz mailing list
> mutt-kz(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/mutt-kz
>
_______________________________________________
mutt-kz mailing list
mutt-kz(a)lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/mutt-kz
--
AJ Lewis
Software Engineer
Quantum Corporation
Mobile: 612 860-8068
Work: 651 688-4346
YahooIM: vortechs2000
AIM: v0r73chz
MSN: vortechs2000(a)yahoo.com
email: aj.lewis(a)quantum.com