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.
wget --mirror \ --convert-links --no-parent --quiet \ --adjust-extension -A pdf \ https://example.org/path/
Check more on wget in wget manual.