Skip to content

Instantly share code, notes, and snippets.

@pepebe
Created August 29, 2011 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pepebe/1179390 to your computer and use it in GitHub Desktop.
Save pepebe/1179390 to your computer and use it in GitHub Desktop.
wget: Download Client homepage with wget (Komodo Snippet)
cd '%p'; mkdir downloads; cd downloads; wget -r -l%(ask2:Depth:1) -k http://%(ask1:URL);
cd '%p'; mkdir downloads; cd downloads; wget -r -l%(ask2:Depth:1) -k http://%(ask1:URL);
@pepebe
Copy link
Author

pepebe commented Aug 29, 2011

Handy snippet to download a client homepage to your project directory.

The snippet will ask for a URL and a depth parameter. Hit ok and it will download the page recursively to the stated depth.

Note: This is only a very primitive use of wget. You can do MUCH more with it. For more information read the GNU Wget 1.12 Manual

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment