blob: 1d80583c6116a38c500e8e07f1c87004a39a2f72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/sh
# This script downloads mbox archives of the Pd lists and sets them up at
# Apple Mail.app local mailboxes.
# <hans@at.or.at>
# which lists you want to download. The lists hosted on this server are:
# gem-dev pd-announce pd-cvs pd-dev pd-list pd-ot pdweb
LISTS="pd-announce pd-dev pd-list pd-ot pdweb"
MAILBOX_ROOT=~/Library/Mail/Mailboxes/Pd
for listname in $LISTS ; do
echo " "
echo " "
echo Downloading $listname:
if [ ! -d $MAILBOX_ROOT/$listname.mbox ]; then
mkdir $MAILBOX_ROOT/$listname.mbox
fi
cd $MAILBOX_ROOT/$listname.mbox
wget http://lists.puredata.info/pipermail/$listname.mbox/$listname.mbox && \
(rm mbox table_of_contents; mv $listname.mbox mbox)
done
|