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

1 comment:

  1. -nc, --no-clobber for skip downloads that would download to existing files.

    ReplyDelete