For confirmation before erasing the drive, remove –-nointeraction from the.Sudo /Applications/Install \ OS \ X \ Yosemite.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -applicationpath /Applications/Install \ OS \ X \ Yosemite.app Sudo /Applications/Install \ OS \ X \ El \ Capitan.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -applicationpath /Applications/Install \ OS \ X \ El \ Capitan.app Sudo /Applications/Install \ macOS \ Sierra.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -applicationpath /Applications/Install \ macOS \ Sierra.app Sudo /Applications/Install \ macOS \ High \ Sierra.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -applicationpath /Applications/Install \ macOS \ High \ Sierra.app Sudo /Applications/Install \ macOS \ Mojave.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -nointeraction -downloadassets Sudo /Applications/Install \ macOS \ Catalina.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -nointeraction -downloadassets Sudo /Applications/Install \ macOS \ Big \ Sur.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -nointeraction -downloadassets Sudo /Applications/Install \ macOS \ Monterey.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -nointeraction -downloadassets Sudo /Applications/Install \ macOS \ Ventura.app/Contents/Resources/createinstallmedia -volume /Volumes/USB -nointeraction -downloadassets I currently don't have the moneyįor a machine capable of running macOS 12 . It's usable from Big Sur onwards.įeel free to send a patch for newer systems. Script version of the same functionality. Since the above AppleScript mainly uses shell commands anyway, here's a shell (* Speed up Mail.app by vacuuming the Envelope Index Code from: Originally by "pmbuko" with modifications by Romulo Updated by Brett Terpstra 2012 Updated by Mathias Törnblom 2015 to support V3 in El Capitan and still keep backwards compatibility Updated by Andrei Miclaus 2017 to support V4 in Sierra *) tell application "Mail" to quit set os_version to do shell script "sw_vers -productVersion" set mail_version to "V2" considering numeric strings if "10.10" <= os_version then set mail_version to "V3" if "10.12" <= os_version then set mail_version to "V4" if "10.13" <= os_version then set mail_version to "V5" if "10.14" <= os_version then set mail_version to "V6" if "10.15" <= os_version then set mail_version to "V7" if "11" <= os_version then set mail_version to "V8" end considering set sizeBefore to do shell script "ls -lnah ~/Library/Mail/"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |