On 07/23/2011 01:16 PM, Marcus D. Leech wrote:
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?
If you mess with the paths, be aware the OE reciep that grabs the
firmware and repackages it for the E100 uses this recipe:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/uhd/uhd-firmware.inc
You can use your imagination to work out what path I am depending on.
Philip
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
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio