Download all the files linked on a webpage (linux from scratch)

I want to download all the files from this site: linux from scratch packages

I get the index.html file.

it's easy now to get all the packages...


[jcooper@yakushima ~]$ sed 's/<[^>]*>//g' index.html | awk '{print "http://ftp.lfs-matrix.net/pub/lfs/lfs-packages/6.4/"$1}' | xargs wget


thanks to this site for the killer sed script.

Comments

Popular posts from this blog

Find countries in a file's text using regular expressions and Perl

Make links active in Excel 2007