aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-19 23:11:20 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-11-19 23:11:20 +0000
commitf8829b0e8b2ef42dd371e2520161d244c6c7adb3 (patch)
tree2f5e05d204ec78d6147317e145b7abd7d2c3b353
parenta2308f91aaac4fc1692ddf29c0e6704bf85a3062 (diff)
this script downloads the archives of all the Pd lists and puts them in the Mailbox format used by Apple Mail
svn path=/trunk/; revision=3979
-rwxr-xr-xscripts/download-pd-archives.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/download-pd-archives.sh b/scripts/download-pd-archives.sh
new file mode 100755
index 00000000..41d71104
--- /dev/null
+++ b/scripts/download-pd-archives.sh
@@ -0,0 +1,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
+
+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