source: MondoRescue/branches/2.2.10/tools/removespamintrac@ 2340

Last change on this file since 2340 was 2340, checked in by Bruno Cornec, 15 years ago
  • New compiler flogs introduce for memory check
  • Other dyn. allocation added replacing static ones
  • Option -Y is added for LZMA support
File size: 452 bytes
Line 
1#!/bin/bash
2
3if [ "$1" = "-f" ]; then
4 doit=true
5else
6 doit=false
7fi
8
9for pj in /mondo/trac/mondorescue.env /mondo/dploy/trac/* /mondo/project-builder/trac/*; do
10 for p in `trac-admin $pj wiki list | awk '{print $1}' | grep -E '_download$|_buy_|_buy$'`; do
11 echo "Deleting $p..."
12 if [ $doit = "true" ]; then
13 trac-admin $pj wiki remove $p
14 fi
15 done
16done
Note: See TracBrowser for help on using the repository browser.