Posted By

iblis on 10/08/07


Tagged

http download batch wget


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

ggb2g
sbbath
deepsoul
annalog


Batch download files from a web directory


 / Published in: Bash
 

-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)

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

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: sbbath on November 22, 2007

this plus google's dir listing equals awesome

You need to login to post a comment.