Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 399
  • Last Modified:

WGET command

Can someone help me write a WGET statement to download everything from www.mysite.com and change the links for offline viewing?
0
hrolsons
Asked:
hrolsons
  • 2
1 Solution
 
mrjoltcolaCommented:
wget http://www.mysite.com --convert-links --recursive
0
 
stetorCommented:
wget -m -k -E http://www.mysite.com
0
 
hrolsonsAuthor Commented:
Are the 2 suggestions above the same?  If not, what is different?
0
 
stetorCommented:
Hi hrolson,

in the first suggestion :
--recursive is -r
--convert-links is -k

in my suggestion :
the -m is for "--mirror" and include all the following option "-r -N -l inf --no-remove-listing"
so download the full site
the -E convert all the extension in .html and reconnect internal link so you
have a downloaded site "browseable" in local without language processor.
this is usefull if the site use php, asp or other

bye

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now