[CentOS] OT: get files with wget
Frank Büttner
frank-buettner at gmx.net
Thu Apr 10 17:08:37 UTC 2008
Filipe Brandenburger schrieb:
> On Thu, Apr 10, 2008 at 7:39 AM, Frank Büttner <frank-buettner at gmx.net> wrote:
>>> Perhaps you should do:
>>> wget -r http://www.foo.bar/sample
>> Hm,
>> this will download the whole www.foo.bar site:(
>
> Add -np (no parent).
>
> You should also probably add a slash after the directory in the website:
>
> wget -r -np http://www.foo.bar/sample/
>
> Filipe
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
Yes this will do the job.
Thanks.
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5766 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080410/c7950422/attachment.bin>
More information about the CentOS
mailing list