Tuesday, March 21, 2023
HomeWeb DevelopmentDecide Default App for File Sort from Command Line

Decide Default App for File Sort from Command Line


One high quality of life enchancment any developer could make for themselves is making certain totally different file varieties open within the app they’re most proficient in. If me, I want undertaking as a lot as potential from the command line. The duti utility permits customers to find out default file sort from command line.

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

brew set up duti

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

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

You’ll be able to set the default app through the use of its bundle:

duti -s com.sublimetext.2 .js all

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

  • CSS 3D Folding Animation
  • Create Namespaced Classes with MooTools

    MooTools has all the time gotten a little bit of grief for not inherently utilizing and standardizing namespaced-based JavaScript lessons just like the Dojo Toolkit does.  Many builders create their lessons as globals which is usually frowned up.  I principally disagree with that stance, however every to their very own.  In any occasion…


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments