Skip to content

Instantly share code, notes, and snippets.

@yt-siden
Created June 20, 2019 06:49
Show Gist options
  • Save yt-siden/3a360c247b92939ed9a8a1f1cfac39e1 to your computer and use it in GitHub Desktop.
Save yt-siden/3a360c247b92939ed9a8a1f1cfac39e1 to your computer and use it in GitHub Desktop.
Mailmanが管理するlistに`arch`を実行する
#!/bin/sh
LISTS=`ls -l /var/lib/mailman/lists | grep ^d | awk '{print $9;}'`
for list in $LISTS
do
/usr/lib/mailman/bin/arch $list
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment