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
On 10/04/2008, Frank Büttner frank-buettner@gmx.net 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
Sudev Barar schrieb:
On 10/04/2008, Frank Büttner frank-buettner@gmx.net 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:(
On Thu, Apr 10, 2008 at 7:39 AM, Frank Büttner frank-buettner@gmx.net wrote:
Sudev Barar schrieb:
On 10/04/2008, Frank Büttner frank-buettner@gmx.net 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)
On Thu, Apr 10, 2008 at 7:39 AM, Frank Büttner frank-buettner@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
Filipe Brandenburger schrieb:
On Thu, Apr 10, 2008 at 7:39 AM, Frank Büttner frank-buettner@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@centos.org http://lists.centos.org/mailman/listinfo/centos
Yes this will do the job. Thanks.
Frank