How to mirror a website using wget on Linux?
Posted on In QA, TutorialHow 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.
To download all PDF files from https://example.org/path/ as an example, you may use this command:
wget --mirror \ --convert-links --no-parent --quiet \ --adjust-extension -A pdf \ https://example.org/path/
Check more on wget in wget manual.