I am looking to change a file association on the Mac using some sort of script. I know that I can do something like that in Windows using the assoc
command.
Is there something scriptable on MacOSmacOS which will do a similar job? I don’t mind whether it’s in Bash (my preference), AppleScript or something in Automator.
I am aware of the dutil
command but I want to be able to do it without additional software.