User Tools

Site Tools


wget_examples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
wget_examples [2016/09/14 17:58] walkeradminwget_examples [2017/01/12 20:16] walkeradmin
Line 1: Line 1:
 ====== wget Examples ====== ====== wget Examples ======
 +<color darkorange>2016</color>
 +\\ 
 +\\ 
 +<color red>For instances where wget doesn't work or is not installed, use curl -O as a replacement for wget</color>
 \\  \\ 
 \\  \\ 
Line 56: Line 60:
 \\  \\ 
 \\  \\ 
-12. Download the PDF documents from a website through recursion but stay within specific domains. +===== Download the PDF documents from a website ===== 
-wget ‐‐mirror ‐‐domains=abc.com,files.abc.com,docs.abc.com ‐‐accept=pdf http://abc.com/ +Download the PDF documents from a website through recursion but stay within specific domains. 
- +\\  
-13Download all files from a website but exclude a few directories. +    wget ‐‐mirror ‐‐domains=abc.com,files.abc.com,docs.abc.com ‐‐accept=pdf http://abc.com/ 
-wget ‐‐recursive ‐‐no-clobber ‐‐no-parent ‐‐exclude-directories /forums,/support http://example.com +\\  
- +\\  
- +Original article at http://www.labnol.org/software/wget-command-examples/28750
- +\\  
 +\\ 
wget_examples.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1