#!/bin/sh # # Regenerate all Mailman mailing list archives # # Saved into a shell script so it can be run with Unix nohup command # to let it keep running to completion even if shell is disconnected # (since it takes a LONG time to regenerate archives for ALL lists). # # Usage: nohup ./arch_wipe_all.sh &> ./arch_wipe_all-output.txt & # tail -f ./arch_wipe_all-output.txt # # (the &> redirection of stderr and stdout is specific to sh/bash/ksh) # # Anthony R. Thompson, July 2010 # Contact: put @ between art and sigilservices.com # MM_BIN_DIR=/usr/lib/mailman/bin # INSTALL for list in `$MM_BIN_DIR/list_lists -b | egrep -v '^mailman$'`; do $MM_BIN_DIR/arch --wipe $list; done