Posts Tagged ‘rails linux wget bash’

download all railscasts

January 6th, 2010 Comments off

I think most of You knows, probably you were using one of the scripts:

And probably there is more such scripts, but I would propose another solution, on line of bash code:

wget -q -O – | awk -F \” ‘/media:content/ {print $4}’ | head -n 2 | wget -i – -c

Update 2010-01-09: “head -n 2” is for controling ammount, change it to something bigger if You need more then 2.