emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lists.gnu.org/archive web search is broken?


From: Daniel Martín
Subject: Re: lists.gnu.org/archive web search is broken?
Date: Fri, 22 Jul 2022 21:55:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin)

Juri Linkov <juri@linkov.net> writes:

>
> The nicest way is indeed to download locally from
> https://lists.gnu.org/archive/mbox/emacs-devel/
> https://lists.gnu.org/archive/mbox/bug-gnu-emacs/
>
> This gives the power of using grep with any regexps, and even
> special mailbox searching programs like `grepmail` that can match
> on headers, mail body and MIME attachments.

Based on this approach, I have a small Bash function that uses Wget to
download the complete mailing list history into a single mbox file.

function download_mailing_list() {
    url=$1
    list_name=$2
    wget -r -nH --cut-dirs=2 --no-parent -A "*-*" --reject="index.html*" $url
    cd $list_name
    cat * > $list_name.mbox
}

Example:

download_mailing_list https://lists.gnu.org/archive/mbox/emacs-devel/ 
emacs-devel

will download all the history of emacs-devel and generate a single
emacs-devel.mbox file.  (Caveat emptor, you might want to convert it to
a more efficient format.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]