SysTutorials Forums QA How to mirror a website using wget on Linux?

Tagged: ,

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.

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.

  • This reply was modified 1 month, 1 week ago by  Admins.
Reply To: How to mirror a website using wget on Linux?
Your information:





<a href="" title="" rel="" target=""> <blockquote cite=""> <code> <pre> <em> <strong> <del datetime=""> <ul> <ol start=""> <li> <img src="" border="" alt="" height="" width="">

Cancel
Please share if you like this post: