wget如何镜像网站
How to mirror a website using wget
on Linux? If the command can filter only specific file extensions, such as pdf and docx, it will be much better too.
如何在Linux上使用wget
镜像网站? 如果该命令只能过滤特定的文件扩展名,例如pdf和docx,则效果会更好。
To download all PDF files from https://example.org/path/ as an example, you may use this command:
例如,要从https://example.org/path/下载所有PDF 文件 ,可以使用以下命令:
wget --mirror \
--convert-links --no-parent --quiet \
--adjust-extension -A pdf \
https://example.org/path/
Check more on wget in wget manual.
在wget手册中查看有关wget的更多信息。
翻译自: https://www.systutorials.com/how-to-mirror-a-website-using-wget-on-linux/
wget如何镜像网站