Results 1 to 4 of 4

Thread: Little Sitecloner-Script

Threaded View

  1. #1
    Just burned his ISO
    Join Date
    Apr 2011

    Default Little Sitecloner-Script


    I just want to share a little script which i just made:

    # wget Websitecloner-Script
    echo Enter URL:
    read URL
    echo Enter Download-Directory:   # if not existing it will be created
    read DD
    echo Do you want to clone the whole website or just the index.html? hole/index # type whole for the whole site and index for index.html
    read WHOLE
    if [ -d "$DD" ]
        cd $DD
        mkdir $DD
        cd $DD
    if $HOLE = whole
        wget -r --page-requisites --convert-links -U Mozilla -erobots=off -w 5 $URL
        wget --page-requisites --convert-links -U Mozilla -erobots=off -w 5 $URL
    echo site cloned

    I know that its not a big thing but i felt like posting it and that it might help some beginners who want to clone a website into a custom directory

    Greets Jodokus

    EDIT: Updated the script....
    Last edited by Jodokus; 07-05-2011 at 05:06 PM.

Similar Threads

  1. Replies: 6
    Last Post: 10-08-2010, 11:40 PM
  2. Replies: 10
    Last Post: 07-12-2010, 03:04 PM
  3. WPA script
    By procraft7399 in forum OLD Newbie Area
    Replies: 27
    Last Post: 04-29-2009, 10:10 AM
  4. Looking for a Script.
    By Steel9 in forum OLD Newbie Area
    Replies: 15
    Last Post: 04-04-2009, 07:22 PM
  5. LZM Script/lzm2dir script
    By unseen in forum OLD Tutorials and Guides
    Replies: 2
    Last Post: 11-29-2007, 02:51 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts