wget -N http://www.yoururl.com/, где www.yoururl.com - это URL, который вы хотите пересмотреть, должен делать трюк. Переключатель -N запросит у сервера дату последнего изменения. Если локальный файл более новый, удаленный файл не будет повторно выбран. Однако, если удаленный файл более поздний, wget продолжит его выборку. Обратите внимание, что вы хотите запустить wget в том же каталоге, в котором вы его запустили.
Замечание об ограничениях, указанных в man wget:
If a file is downloaded more than once in the same directory,
Wget's behavior depends on a few options, including -nc. In
certain cases, the local file will be clobbered, or overwritten,
upon repeated download. In other cases it will be preserved.
When running Wget without -N, -nc, -r, or -p, downloading the same
file in the same directory will result in the original copy of file
being preserved and the second copy being named file.1. If that
file is downloaded yet again, the third copy will be named file.2,
and so on. (This is also the behavior with -nd, even if -r or -p
are in effect.) When -nc is specified, this behavior is
suppressed, and Wget will refuse to download newer copies of file.
Therefore, ""no-clobber"" is actually a misnomer in this
mode---it's not clobbering that's prevented (as the numeric
suffixes were already preventing clobbering), but rather the
multiple version saving that's prevented.
В зависимости от вашей ситуации вы может также понадобиться переключатели -r (рекурсивный) и -l (уровень глубины). Для получения дополнительной информации о многих доступных переключателях и опциях см. [F7]
Если wget не работает для вас:
Альтернативой, упомянутой здесь к wget, является httrack который также может отображать веб-сайт, а также обновлять его.
здесь доступен, сначала включив репозиторий Universe, а затем установив либо через программный центр, либо из командной строки с помощью команды sudo apt-get update && sudo apt-get install httrack
Источники wget:
включение репозитория Вселенной
man wget
] http://www.editcorp.com/Personal/Lars_Appel/wget/wget_5.html
Источник httrack:
http://www.editcorp.com/ Личный / Lars_Appel / Wget / wget_5.html