![]() ![]() # 9 Developer Tools -catalog Asset Catalog Creator Pro.app We can build up a data frame with certain fields (I wanted to know how many apps still aren’t Universal): tibble(Ĭategory = kval(applist, "kMDItemAppStoreCategory"),īundle_id = kval(applist, "kMDItemCFBundleIdentifier"),ĭisplay_name = kval(applist, "kMDItemDisplayName"),Īrch = kval(applist, "kMDItemExecutableArchitectures"), This is nowhere near as robust as XML::readKeyValueDB() but it doesn’t have to be for this particular use case. # \n _kMDItemDisplayNameWithExtensions\n Cisco Webex Meetings.app\n kMDItemAlternateNames\n _kMDItemDisplayNameWithExtensions\n Claquette.app\n kMDItemAlternateNames\n \n _kMDItemDisplayNameWithExtensions\n Discord.app\n kMDItemAlternateNames\n \n _kMDItemDisplayNameWithExtensions\n Elgato Control Center.app\n kMDItemAlternateNames\n _kMDItemDisplayNameWithExtensions\n F5 Weather.app\n kMDItemAlternateNames\n \n _kMDItemDisplayNameWithExtensions\n Fantastical.app\n kMDItemAlternateNames\n map(unlist, use.names = FALSE) |> map(unique), # \n _kMDItemDisplayNameWithExtensions\n Camera Settings.app\n kMDItemAlternateNames\. # \n _kMDItemDisplayNameWithExtensions\n Buffer.app\n kMDItemAlternateNames\n \n _kMDItemDisplayNameWithExtensions\n Burp Suite Community Edition.app\n kMDItemAlternat. # \n _kMDItemDisplayNameWithExtensions\n Awsaml.app\n kMDItemAlternateNames\n \n _kMDItemDisplayNameWithExtensions\n Boop.app\n kMDItemAlternateNames\n \. # \n _kMDItemDisplayNameWithExtensions\n AdBlock.app\n kMDItemAlternateNames\n \n _kMDItemDisplayNameWithExtensions\n AdGuard for Safari.app\n kMDItemAlternateNames\n _kMDItemDisplayNameWithExtensions\n Agenda.app\n kMDItemAlternateNames\n \n _kMDItemDisplayNameWithExtensions\n Alfred 4.app\n kMDItemAlternateNames\n \n _kMDItemDisplayNameWithExtensions\n Android File Transfer.app\n kMDItemAlternateNames\n _kMDItemDisplayNameWithExtensions\n Asset Catalog Creator Pro.app\n kMDItemAlternateNa. # \n _kMDItemDisplayNameWithExtensions\n Adblock Plus.app\n kMDItemAlternateNames\n. # \n _kMDItemDisplayNameWithExtensions\n 1Password 7.app\n _kMDItemEngagementData\n. Tf \n _kMDItemDisplayNameWithExtensions\n 1Blocker (Old).app\n kMDItemAlternateNames\n. # generate a giant property list with all the app attributres We can get all the metadata for all installed apps in R via: library(sys)Ĭ("/Applications", "/System/Library/CoreServices", "/Applications/Utilities", "/System/Applications"), It’s a wicked fast command even when grabbing and outputting metadata for all apps on a system.Ĭopyright © 2017-2020 BZG Inc. will generate a giant property list file with all metadata for all the apps specified. Having application metadata handy for the utility functions I’m putting together for Rmd-based Screen Time reports would be handy, so I threw together some quick code to show how to work with it in R. I further noticed there’s a kMDItemExecutableArchitectures key (which, too, may have been “a thing” before as well). I’m playing around with Screen Time on xOS again and noticed mdls (macOS command line utility for getting file metadata) has a -plist option (it probably has for a while & I just never noticed it). (reminder: Quick Hits have minimal explanatory blathering, but I can elaborate on anything if folks submit a comment).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |