#!/bin/sh # wget http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version -qO-|gunzip|grep Update.ipsw|cut -d '>' -f 2|cut -d '<' -f 1 >Iphone_Updates.txt wget http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStore.woa/wa/com.apple.jingle.appserver.client.MZITunesClientCheck/version -qO-|gunzip|grep Restore.ipsw|cut -d '>' -f 2|cut -d '<' -f 1|grep iPhone|sort -u >> Iphone_Updates.txt