Return to Snippet

Revision: 30174
at August 9, 2010 16:31 by kentoy

Initial Code
#! /bin/bash
# use this script for downloading websites using 'wget' utility
# replace URL field with the URL to be downloaded


wget -Nrkpl 0 $URL 

# wget flags and their functions
# -r = recursive: follows the links
# -k = changes links adresses to their local file adress
# -p = downloads images
# -l = recursion level. 0 for infinite.


Initial URL

Initial Description
<ol><li>save as</li><li>chmod u+x</li><li>usage : ./\"url\"</li></ol>

Initial Title
bash [script] - download website using wget

Initial Tags
Bash, script, download, terminal

Initial Language