On 07/23/2011 12:27 PM, Josh Blum wrote:
Is it because the version names changed?
Can you wget the whole directory and pick out the first tar.gz file?
This is what I now do:
#
# First, get listing of ettus.com/downloads/uhd_releases/master_images
# We use spider mode, and use -r to descend
#
wget -np -r --spider
http://www.ettus.com/downloads/uhd_releases/master_images >tmp$$ 2>&1
#
# Now search the resulting log file for .tar.gz files that match
the appropriate
# pattern.
#
grep 'UHD-images.*tar.gz' tmp$$ |sed -e 's@.*Removing @http://@'
|sort -r |head -1 >tmp2$$
Then
#
# Fetch the tar file (whose name is in ../tmp2$$)
#
fn=`cat ../tmp2$$|sed -e s/.$//`
wget -nd $fn >/dev/null 2>&1
--
Marcus Leech
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio