Shell script - set default app for file

Discussion in 'Mac Programming' started by davewg, Aug 14, 2009.

  1. davewg macrumors newbie

    Joined:
    Nov 6, 2007
    #1
    Hi there,

    We have 2 apps on our customers machines that can both open files with the same file extension. Is there any way via shell commands to set which application should be the default?

    Essentially, I'm hoping to replicate Get Info > Open With > Change All, but using a script.

    Thanks in advance!
    Dave
     

Share This Page