User Tools

Site Tools


burim:bash:spider
  • dokuwiki
for file in $(find ./ -type f); do
  file=${file//.\//}
  file=${file//\//:}
  file=$(basename $file '.txt')
  url="https://user:****@localhost/doku.php?id=$file"
  wget -nv --no-check-certificate "$url" -O /dev/null
  [ $? != 0 ] && echo "ERROR fetching $url"
  sleep 1
done
burim/bash/spider.txt · Last modified: 2019/07/07 10:54 by burim

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki