Hello.
I'm looking for a simple way - hopefully - to determine if there are any Apple Software Updates in the cache.
softwareupdate -d will cache updates, but I'm trying to build a Smart Group based policy that would only run if software updates have been cached.
Theoretically, a script could be used to look at the file size of /Library/Updates - where Apple Software Updates are stored, but that seems a bit clunky and overkill.
Thanks for any help.
