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

Tagged: ,

Viewing 1 reply thread

    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 4 months ago by Admins.
Viewing 1 reply thread
Reply To: How to mirror a website using wget on Linux?
Your information:





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

Please share if you like this post: