Mirror a Site

Here is a complicated mirror, getting all assets, not images, with a custom header

wget \
    --mirror \
    --page-requisites \
    --tries=2 \
    --max-redirect=3 \
    --keep-session-cookies \
    --reject '*.iso,*.jpg,*.jpeg,*.mp3,*.pdf,*.png,*.tgz' \
    --ignore-case \
    --header='X-Edoceo: NO_LOG' \
    --output-file=wget.log \
    --no-check-certificate \
    --no-clobber
    --no-verbose \
    http://hostname.tld/

Mirror via FTP

wget --mirror ftp://user:pass@hostname.tld/path/to/get
wget --mirror -nv ftp://user:pass@hostname.tld/path/to/get

Will output in ./hostname.tld/path/to/get.