Skip to main content
It's "macOS" not "MacOS".
Source Link
user3439894
  • 59.8k
  • 10
  • 112
  • 135

Is there a MacOSmacOS equivalent of the Windows assoc command?

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.

Is there a MacOS equivalent of the Windows assoc command?

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 MacOS 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.

Is there a macOS equivalent of the Windows assoc command?

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 macOS 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.

Tweeted twitter.com/askdifferent/status/1058282712614780933
Source Link
Manngo
  • 3.7k
  • 12
  • 40
  • 66

Is there a MacOS equivalent of the Windows assoc command?

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 MacOS 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.