[ubuntu-za] Wget command for sub folder on a site
Jedri Visser
lists at jedrivisser.com
Mon Nov 4 09:02:24 UTC 2013
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/. This
option disables such behavior.
On 4 November 2013 08:48, Wikus <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
> 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/4d256745/attachment.html>
More information about the ubuntu-za
mailing list