• Skip to content
  • Skip to secondary menu
  • Skip to primary sidebar

PROGRAMMING REVIEW

Slow catching the programming trends

  • [ Home ]
  • [ NPM quiz ]
  • [ WPCli quiz ]
  • [ Sass Quiz ]
  • [ Git Quiz ]
  • [Plugins check]
  • [ WordPress Blog ]
  • Word of caution

Wget offline copy of a website

March 12, 2017 ⌛ Tagged With: css, linux, tips and tricks, wget

Wget is a fantasitc tool. You need to create an offline copy of a site. No probem. Wget can help you make such copy easily:

wget --mirror --convert-links --adjust-extension --page-requisites --no-parent http://example.com

Shorthands:

wget -mkEpnp http://example.com

Clarification:

-m,  --mirror                           shortcut for -N -r -l inf --no-remove-listing
-k,  --convert-links                 make links in downloaded HTML or CSS point to local files
-E,  --adjust-extension          save HTML/CSS documents with proper extensions
-p,  --page-requisites            get all images, etc. needed to display HTML page
-np, --no-parent                     don't ascend to the parent directory

Related posts:

  1. Creating mp4 videos using recordmydesktop
  2. How to set a div in the center of a web browser using margins?
  3. Setting your crontab job every 3 minutes
  4. css selectors
  5. Tutorial: CSS website design using divs
  6. Minimal 2-columns website layout
  7. eCommerce start up website
  8. Website Security Terms in 2013

Tagged With: css, linux, tips and tricks, wget

Previous Post: « Searching for updated in the log
Next Post: Setting the default locale in Ubuntu »

Primary Sidebar

My Q&A site profile

profile for prosti on Stack Exchange, a network of free, community-driven Q&A sites

WordPress related stuff

[ WordPress Blog ]
[ WordPress plugins check ]

More profiles

Linked In
GitHub
GitHub blog
Android Quiz apps

Tags

.htaccess android atom babel cdn centos command line csharp css database debug DreamWeaver eclipse ecommerce es5 es6 git google html javascript js Laravel linux metaknowledge mysql nginx node.js npm online-tools perl php python react reactjs scripting security servers sql server system admin tips and tricks tools ubuntu vim web standards youtube

PROGRAMMING REVIEW

☂ since 2010