fixed execution order bug that was causing the first two frame numbers to output...
[puredata.git] / scripts / download-pd-archives.sh
blob1d80583c6116a38c500e8e07f1c87004a39a2f72
1 #!/bin/sh
3 # This script downloads mbox archives of the Pd lists and sets them up at
4 # Apple Mail.app local mailboxes.
5 # <hans@at.or.at>
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
13 echo " "
14 echo " "
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)
22 done