![]() getHandler Returns the default application registered for the URI Scheme or you specify. You can do a check on the current set apps by running this (swda cli in /bin): /usr/local/bin/swda - getUTIs You then issue the command to swiftdefaultsapps cli (rolled out to /bin folder in this case) to set Excel to open csv files: /usr/local/bin/swda - setHandler -app /Applications/Microsoft Excel.app/ -UTI ma-separated-values-text csv: kMDItemContentType "ma-separated-values-text" This gives you the correct interpreter for the filetype you are trying to set.Įxample for. I run this command first to determine the appropriate file attribute : mdls /path/to/file Took me a while to figure this out but changing the filetype needs to be based on the correct attribute information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |