[ubuntu-za] Wget command for sub folder on a site

Wikus wikus at cheetah-microsystems.com
Mon Nov 4 10:49:05 UTC 2013


Hi Jedri ,

Those switches don't work , it still downloads the whole site.

- Wikus

      _
     | |
     | |
  ---   ---
|J E S U S|
  ---   ---
     | |
     | |
     | |
     | |   My King
     ---

On 04/11/2013 11:02, Jedri Visser wrote:
> Are you sure it does not just create empty directories to keep the 
> hierarchy of directories? if so you can use:
>
>  -nH
>        --no-host-directories
>            Disable generation of host-prefixed directories.  By default,
>            invoking Wget with -r http://fly.srk.fer.hr/ will create a
>            structure of directories beginning with fly.srk.fer.hr/ 
> <http://fly.srk.fer.hr/>.  This
>            option disables such behavior.
>
>
> On 4 November 2013 08:48, Wikus <wikus at cheetah-microsystems.com 
> <mailto:wikus at cheetah-microsystems.com>> wrote:
>
>     Morning everyone ,
>
>     I want to download just a sub folder on a web site , for example
>     the contents of :
>
>     www.my.example/folder/
>
>     So I tried the command:
>
>     wget -r www.my.example/folder/
>
>     But then it downloads the whole site www.my.example
>
>     What am I missing in my command to only download the contents of
>     the sub folder ?
>
>     Thank you
>
>     - Wikus
>
>     -- 
>          _
>         | |
>         | |
>      ---   ---
>     |J E S U S|
>      ---   ---
>         | |
>         | |
>         | |
>         | |   My King
>         ---
>
>
>
>     -- 
>     ubuntu-za mailing list
>     ubuntu-za at lists.ubuntu.com <mailto:ubuntu-za at lists.ubuntu.com>
>     https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20131104/6a296998/attachment-0001.html>


More information about the ubuntu-za mailing list