Software Development

Decide Default App for File Sort from Command Line


One high quality of life enchancment any developer could make for themselves is guaranteeing completely different file varieties open within the app they’re most proficient in. If you recognize me, you recognize I want conducting as a lot as doable from the command line. The duti utility permits customers to find out default file kind from command line.

The duti utility permits builders to question which app is the default for various file varieties. You may set up duti with brew:

brew set up duti

After getting duti obtainable, you possibly can test on the default app for file kind with the next command:

~ duti -x md
Xcode.app
/Functions/Xcode.app
com.apple.dt.Xcode

You may set the default app by utilizing its bundle:

duti -s com.sublimetext.2 .js all

The duti utility is admittedly nice for figuring out and automating default app administration!

  • 9 More Mind-Blowing WebGL Demos
  • CSS Animations Between Media Queries

    CSS animations are proper up there with sliced bread. CSS animations are environment friendly as a result of they are often {hardware} accelerated, they require no JavaScript overhead, and they’re composed of little or no CSS code. Very often we add CSS transforms to components through CSS throughout…


What's your reaction?

Leave A Reply

Your email address will not be published. Required fields are marked *