Discussion:
[ubuntu-us-mi] Getting the latest beta
Robert Citek
2012-09-09 23:28:55 UTC
Permalink
Here's a little script I use to grab the latest beta for the desktop version:

base=http://cdimage.ubuntu.com/daily-live/current/
touch -r MD5SUMS MD5SUMS.ts
wget -N ${base}/MD5SUMS
cut -d'*' -f2 MD5SUMS |
grep iso$ |
while read iso ; do
zsync ${base}/${iso}.zsync
done &&
ls *.iso | grep -f - MD5SUMS | md5sum -c -
rm MD5SUMS.ts

This will download the MD5SUM file, download all the ISO mentioned in
it, and then verify them. Given that zsync is being used, the final
check is probably unnecessary.

Poke around the base URL for grabbing other flavors, e.g. server version.

Regards,
- Robert

Loading...