Last active
September 16, 2015 15:44
-
-
Save erikng/a0511e9a56428ea09204 to your computer and use it in GitHub Desktop.
CacheWarmer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# CacheWarmer script to pre-cache iOS | |
## Version 12 | |
## http://mesu.apple.com/assets/com_apple_MobileAsset_SoftwareUpdate/com_apple_MobileAsset_SoftwareUpdate.xml | |
## https://theiphonewiki.com/wiki/Models | |
## http://www.everyi.com/by-identifier/ipod-iphone-ipad-specs-by-model-identifier.html | |
######## AppleTVs | |
# Apple TV 2G | |
#/usr/local/bin/CacheWarmer --add-model AppleTV2,1 --verbose | |
#/usr/local/bin/CacheWarmer --verbose | |
#/usr/local/bin/CacheWarmer --remove-model AppleTV2,1 --verbose | |
# Apple TV 3G | |
/usr/local/bin/CacheWarmer --add-model AppleTV3,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model AppleTV3,1 --verbose | |
# Apple TV 3G 2013 | |
/usr/local/bin/CacheWarmer --add-model AppleTV3,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model AppleTV3,2 --verbose | |
# New Apple TV | |
/usr/local/bin/CacheWarmer --add-model AppleTV5,3 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model AppleTV5,3 --verbose | |
######## iPads WiFi | |
# iPad 1 WiFi | |
#/usr/local/bin/CacheWarmer --add-model iPad1,1 --verbose | |
#/usr/local/bin/CacheWarmer --verbose | |
#/usr/local/bin/CacheWarmer --remove-model iPad1,1 --verbose | |
# iPad 2 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad2,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad2,1 --verbose | |
# iPad 2 WiFi + GSM | |
/usr/local/bin/CacheWarmer --add-model iPad2,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad2,2 --verbose | |
# iPad 2 WiFi + CDMA | |
/usr/local/bin/CacheWarmer --add-model iPad2,3 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad2,3 --verbose | |
# iPad 2 M2012 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad2,4 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad2,4 --verbose | |
# iPad 3 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad3,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad3,1 --verbose | |
# iPad 3 WiFi + GSM | |
/usr/local/bin/CacheWarmer --add-model iPad3,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad3,2 --verbose | |
# iPad 3 WiFi + CDMA | |
/usr/local/bin/CacheWarmer --add-model iPad3,3 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad3,3 --verbose | |
# iPad 4 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad3,4 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad3,4 --verbose | |
# iPad 4 WiFi + GSM | |
/usr/local/bin/CacheWarmer --add-model iPad3,5 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad3,5 --verbose | |
# iPad 4 WiFi + CDMA | |
/usr/local/bin/CacheWarmer --add-model iPad3,6 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad3,6 --verbose | |
# iPad Air WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad4,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad4,1 --verbose | |
# iPad Air WiFi + Cellular | |
/usr/local/bin/CacheWarmer --add-model iPad4,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad4,2 --verbose | |
# iPad Air 2 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad5,3 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad5,3 --verbose | |
# iPad Air 2 WiFi + Cellular | |
/usr/local/bin/CacheWarmer --add-model iPad5,4 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad5,4 --verbose | |
######## iPads Mini WiFi | |
# iPad Mini 1 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad2,5 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad2,5 --verbose | |
# iPad Mini 1 WiFi + GSM | |
/usr/local/bin/CacheWarmer --add-model iPad2,6 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad2,6 --verbose | |
# iPad Mini 1 WiFi + CDMA | |
/usr/local/bin/CacheWarmer --add-model iPad2,7 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad2,7 --verbose | |
# iPad Mini 2 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad4,4 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad4,4 --verbose | |
# iPad Mini 2 WiFi + Cellular | |
/usr/local/bin/CacheWarmer --add-model iPad4,5 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad4,5 --verbose | |
# iPad Mini 3 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad4,7 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad4,7 --verbose | |
# iPad Mini 3 WiFi + Cellular | |
/usr/local/bin/CacheWarmer --add-model iPad4,8 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad4,8 --verbose | |
# iPad Mini 4 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPad5,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad5,1 --verbose | |
# iPad Mini 4 WiFi + Cellular | |
/usr/local/bin/CacheWarmer --add-model iPad5,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPad5,2 --verbose | |
######## iPhones | |
# iPhone 4 GSM | |
/usr/local/bin/CacheWarmer --add-model iPhone3,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone3,1 --verbose | |
# iPhone 4 CDMA | |
/usr/local/bin/CacheWarmer --add-model iPhone3,3 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone3,3 --verbose | |
# iPhone 4S | |
/usr/local/bin/CacheWarmer --add-model iPhone4,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone4,1 --verbose | |
# iPhone 5 GSM | |
/usr/local/bin/CacheWarmer --add-model iPhone5,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone5,1 --verbose | |
# iPhone 5 CDMA | |
/usr/local/bin/CacheWarmer --add-model iPhone5,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone5,2 --verbose | |
# iPhone 5C | |
/usr/local/bin/CacheWarmer --add-model iPhone5,3 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone5,3 --verbose | |
# iPhone 5S | |
/usr/local/bin/CacheWarmer --add-model iPhone6,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone6,1 --verbose | |
# iPhone 5S [China] | |
/usr/local/bin/CacheWarmer --add-model iPhone6,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone6,2 --verbose | |
# iPhone 6 | |
/usr/local/bin/CacheWarmer --add-model iPhone7,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone7,2 --verbose | |
# iPhone 6 Plus | |
/usr/local/bin/CacheWarmer --add-model iPhone7,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone7,1 --verbose | |
# iPhone 6S | |
/usr/local/bin/CacheWarmer --add-model iPhone8,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone8,1 --verbose | |
# iPhone 6S Plus | |
/usr/local/bin/CacheWarmer --add-model iPhone8,2 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPhone8,2 --verbose | |
######## iPods | |
# iPod 1 WiFi | |
#/usr/local/bin/CacheWarmer --add-model iPod1,1 --verbose | |
#/usr/local/bin/CacheWarmer --verbose | |
#/usr/local/bin/CacheWarmer --remove-model iPod1,1 --verbose | |
# iPod 2 WiFi | |
#/usr/local/bin/CacheWarmer --add-model iPod2,1 --verbose | |
#/usr/local/bin/CacheWarmer --verbose | |
#/usr/local/bin/CacheWarmer --remove-model iPod2,1 --verbose | |
# iPod 3 WiFi | |
#/usr/local/bin/CacheWarmer --add-model iPod3,1 --verbose | |
#/usr/local/bin/CacheWarmer --verbose | |
#/usr/local/bin/CacheWarmer --remove-model iPod3,1 --verbose | |
# iPod 4 WiFi | |
#/usr/local/bin/CacheWarmer --add-model iPod4,1 --verbose | |
#/usr/local/bin/CacheWarmer --verbose | |
#/usr/local/bin/CacheWarmer --remove-model iPod4,1 --verbose | |
# iPod 5 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPod5,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPod5,1 --verbose | |
# iPod 6 WiFi | |
/usr/local/bin/CacheWarmer --add-model iPod7,1 --verbose | |
/usr/local/bin/CacheWarmer --verbose | |
/usr/local/bin/CacheWarmer --remove-model iPod7,1 --verbose | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment