Created
August 29, 2011 20:58
-
-
Save pepebe/1179390 to your computer and use it in GitHub Desktop.
wget: Download Client homepage with wget (Komodo Snippet)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd '%p'; mkdir downloads; cd downloads; wget -r -l%(ask2:Depth:1) -k http://%(ask1:URL); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd '%p'; mkdir downloads; cd downloads; wget -r -l%(ask2:Depth:1) -k http://%(ask1:URL); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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