[CentOS] OT: get files with wget
Hello, how can I get all files from an directory of an web server. An simple wget http://www.foo.bar/sample/* will not work:( Thanks for your help. Frank smime.p7s Description: S/MIME Cryptographic Signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: get files with wget
On 10/04/2008, Frank Büttner [EMAIL PROTECTED] wrote: Hello, how can I get all files from an directory of an web server. An simple wget http://www.foo.bar/sample/* will not work:( Perhaps you should do: wget -r http://www.foo.bar/sample -- Regards, Sudev Barar Read http://blog.sudev.in for topics ranging from here to there. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: get files with wget
Sudev Barar schrieb: On 10/04/2008, Frank Büttner [EMAIL PROTECTED] wrote: Hello, how can I get all files from an directory of an web server. An simple wget http://www.foo.bar/sample/* will not work:( Perhaps you should do: wget -r http://www.foo.bar/sample Hm, this will download the whole www.foo.bar site:( smime.p7s Description: S/MIME Cryptographic Signature ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: get files with wget
On Thu, Apr 10, 2008 at 7:39 AM, Frank Büttner [EMAIL PROTECTED] wrote: Sudev Barar schrieb: On 10/04/2008, Frank Büttner [EMAIL PROTECTED] wrote: Hello, how can I get all files from an directory of an web server. An simple wget http://www.foo.bar/sample/* will not work:( Perhaps you should do: wget -r http://www.foo.bar/sample Hm, this will download the whole www.foo.bar site:( man wget: -r -- recursive -nd -- no directories (still gets the whole site) -l N -- max level of recursion (default max is 5) -- HTH, -Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] OT: get files with wget
On Thu, Apr 10, 2008 at 7:39 AM, Frank Büttner [EMAIL PROTECTED] 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@centos.org http://lists.centos.org/mailman/listinfo/centos