Thursday, September 29, 2011

WILD CARDS WITH WGET



You can download all the pdf files under docs folder:


wget -r -l1 --no-parent -A.pdf http://somehost.com/docs/


Step 1
-------------


Go to linux shell


Step 2
-------------


Have the following command and hit enter


wget -r -l1 --no-parent -A.pdf http://somehost.com/docs/




It will download all the pdf files in the specified host.


Enjoy... :)