User Tools

Site Tools


kurs:mkwiki.sh
for i in `ls  *.sh` 
  do
  FILE=/srv/www/htdocs/dokuwiki/data/wifi/$i.txt  
  echo "code" > $FILE
  cat $i >> $FILE
  chown wwwrun.www $FILE
  chmod 666 $FILE
  echo "/code" >> $FILE
  printf  "[[%s]]\n\n" $i  >> /srv/www/htdocs/dokuwiki/data/wifi/unix-kurs.txt 
  done
kurs/mkwiki.sh.txt · Last modified: 2014/09/10 21:22 (external edit)