Wednesday, 29 February 2012

Download all files of certain type using Wget

To download all zip file from a page use the following wget command:

wget -r -A "gz,txt" -w 1 -l 1 ""

-r --> recursive
-A --> specify file suffixes to capture (in this case *.gz and *.txt files)
-w --> wait time before downloading (in sec)
-l --> depth (ie files only on the specified page)

No comments:

Post a Comment