Tag: wget

  • Download a Web Site with wget

    Wget is a tool to download websites from cli. How to download an entire site could be acomplished with the following example:

    wget \
    --recursive \
    --no-clobber \
    --page-requisites \
    --html-extension \
    --convert-links \
    --restrict-file-names=windows \
    --domains demosite.org \
    --no-parent \
    www.demosite.org/html/

  • Watch a page for changes with watch

    This is a recursive description. Watch if a page changes with watch.

    watch -d -n 5 "echo `date` `wget --timeout=5 -qO - URL