d862feb2eabb249d9b83cb04c712a3f9b445e577
[hcoop/domtool2.git] / scripts / domtool-reset-global
1 #!/bin/sh
2
3 rm -rf ~domtool/nodes/*
4 rm -rf ~domtool/serials/*
5 rm -rf ~domtool/webalizer/*
6
7 mkdir ~domtool/webalizer/config
8 mkdir ~domtool/webalizer/config/deleuze
9 mkdir ~domtool/webalizer/config/mire
10 mkdir ~domtool/webalizer/output
11 mkdir ~domtool/webalizer/output/deleuze
12 mkdir ~domtool/webalizer/output/mire
13
14 for usr in `ls /afs/hcoop/usr`
15 do
16 rm -rf /afs/hcoop/usr/$usr/apache/log/mire/*
17 rm -rf /afs/hcoop/usr/$usr/apache/log/deleuze/*
18 done