3 WIKISPOOLDIR
='../../spool/wiki.d/'
5 find $WIKISPOOLDIR -name
'cache_*' -or
-name
'tmp_*' -exec rm {} ";"
6 for i
in `find $WIKISPOOLDIR -type f`; do
7 CONV
=`echo -n $i | iconv -t UTF-8`
9 iconv -t UTF-8
$i.latin1
> $CONV
12 echo "Les pages de wiki ont ete converites en UTF-8"
13 echo "Verifie que tout c'est bien passe en presse ^D"
16 find $WIKISPOOLDIR -name
'*.latin1' -exec rm {} ";"
17 chown
-R www-data
:www-data
$WIKISPOOLDIR