wget_examples
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
wget_examples [2016/09/14 17:50] – created walkeradmin | wget_examples [2016/09/14 17:55] – walkeradmin | ||
---|---|---|---|
Line 3: | Line 3: | ||
\\ | \\ | ||
wget can be used to get a single file from a website, or to download the entire site if you know how. Here some examples of using wget. | wget can be used to get a single file from a website, or to download the entire site if you know how. Here some examples of using wget. | ||
+ | \\ | ||
+ | \\ | ||
\\ | \\ | ||
===== Download a single file ===== | ===== Download a single file ===== | ||
Line 12: | Line 14: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | ===== Download a single file and rename it ===== | ||
+ | To get a single file from a website, and save it using a new name, use: | ||
+ | \\ | ||
+ | wget http:// | ||
+ | | ||
+ | This will download the file index.php from wwww.cameraangle.co.uk and save it as index.txt | ||
+ | \\ | ||
+ | \\ | ||
+ | ===== Resume an interrupted download previously started by wget itself ===== | ||
+ | This does depend on the site supporting resuming. | ||
+ | \\ | ||
+ | wget ‐‐continue example.com/ | ||
+ | \\ | ||
+ | \\ | ||
+ | ===== Download a file but only if the version on server is newer than your local copy ===== | ||
+ | \\ | ||
+ | wget ‐‐continue ‐‐timestamping wordpress.org/ | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
wget_examples.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1