PDA

View Full Version : [all variants] how to wget all the subdirectories



jamesbon
November 23rd, 2010, 01:08 PM
I want to download all the folders available here

http://www.cs.fsu.edu/~baker/devices/lxr/source/2.6.25/ldd-examples/

but when I do a

wget http://www.cs.fsu.edu/~baker/devices/lxr/source/2.6.25/ldd-examples/
I just get the index.html page what should I be doing so that I can have all those subdirectories also ?

viralmeme
November 23rd, 2010, 01:41 PM
I want to download all the folders available here .. what should I be doing so that I can have all those subdirectories also ?
wget -r -np www.cs.fsu.edu/~baker/devices/lxr/source/2.6.25/ldd-examples (http://www.cs.fsu.edu/%7Ebaker/devices/lxr/source/2.6.25/ldd-examples)

iiiears
November 23rd, 2010, 02:02 PM
man wget hurts the eyes with the number of --switches -l(number) controls the depth from the requested directory.

Best Wishes,

geoffmcc
November 23rd, 2010, 02:11 PM
I think you may find that alot of sites will have protection against wget in the form of a user-agent string