Results 1 to 3 of 3

Thread: WGET Help

  1. #1
    Join Date
    Jun 2013
    Beans
    2

    WGET Help

    Hi, I'm trying to use wget to automate some file downloading and seem to be having some trouble getting the syntax just right, was wondering if someone with a bit more experience could assist me here.

    I'm using:
    wget -x -nH --directory-prefix=c:\directory\structure\here -r -np --cut-dirs=4 --reject=html http://www.example.com/directory/str...older2download

    This downloads the proper files to the proper directory, but then it moves up 1 directory on the web and downloads all the files/folders in the parent directory and puts them all in c:\directory\structure\here from reading online I thought -np would stop this am I wrong? Or is something else going on? O also this isn't actually running on ubuntu I'm using wget for windows which uses the same commands/switches as wget in linux/ubuntu as far as I can tell.

  2. #2
    Join Date
    Jun 2013
    Beans
    2

    Re: WGET Help

    No-one out there know anything about wget???

  3. #3
    Join Date
    Jul 2005
    Beans
    2,050

    Re: WGET Help

    ~
    Last edited by ahallubuntu; June 24th, 2013 at 02:14 AM.

Tags for this Thread

Bookmarks

Posting Permissions

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