Return to Snippet

Revision: 3952
at October 8, 2007 14:01 by iblis


Initial Code
wget -nd -r -l1 --no-parent -A.pdf -A.ps http://www.foo.org/pdf/

Initial URL


Initial Description
-nd   do not create a hierarchy of directories (save all recursively retrieved files in the current directory)
-r      recursive retrieving
-l1    set maximum recursion depth to 1 (stay in that folder): set to 2 if necessary
--no-parent     do not ever ascend to the parent directory
-A    specify file name suffixes or patterns to accept (-R to reject)

Initial Title
Batch download files from a web directory

Initial Tags
http, download

Initial Language
Bash