Find the answer to your Linux question:
Results 1 to 3 of 3
Hey how do I download a whole directory from a website?...
  1. #1
    Just Joined! errigour's Avatar
    Join Date
    Jan 2009
    Posts
    51

    how do i wget a directory?

    Hey how do I download a whole directory from a website?

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    It would be something along the lines of
    Code:
    wget -r -l2 www.mysite.com
    Depending on what you want, there are other useful options, such as adding --no-parent.

    GNU Wget Manual - GNU Project - Free Software Foundation (FSF)

  3. #3
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    665
    The best way to figure this one out, is to

    man wget
    /recursive

    and press the N key until you see a command line switch ( it is -r or --recursive for wget .)

    You can do this with almost any command in linux. type `man command` and search for a string `/string` recursive is just the term used to do what you described.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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