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