5

wget images with certain path

view full story
linux-howto

http://unix.stackexchange.com – im looking to only grab images from a document with a certain path for example domain.com/uploads/287167/file_name.jpg only grab those with the uploads/number/filename im currently doing it this way wget http://domain.com/news/36843 -q -O - | sed -n -e"s%^.*\(http://site.com/uploads/[0-9][^ \"\']*\.jpg\).*$%\1%p" | xargs wget -q any other ways of doing this? thanks in advance (HowTos)