Decide Default App for File Kind from Command Line


One high quality of life enchancment any developer could make for themselves is guaranteeing totally different file sorts open within the app they’re most proficient in. If you recognize me, you recognize I want undertaking as a lot as attainable 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 sorts. You may set up duti with brew:

brew set up duti

After you have duti accessible, you’ll be able to examine on the default app for file sort with the next command:

~ duti -x md
Xcode.app
/Purposes/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 basically nice for figuring out and automating default app administration!

  • Responsive Images: The Ultimate Guide

    Chances are high that any Net designers utilizing our Ghostlab browser testing app, which permits seamless testing throughout all gadgets concurrently, can have labored with responsive design in some form or kind. And as at present’s web sites and gadgets turn out to be ever extra assorted, a plethora of responsive pictures…

  • 9 Mind-Blowing Canvas Demos

    The <canvas> ingredient has been a revelation for the visible consultants amongst our ranks.  Canvas supplies the means for unbelievable and environment friendly animations with the added bonus of no Flash; these builders can flash their superior JavaScript expertise as an alternative.  Listed below are 9 unbelievable canvas demos that…



Source_link

Leave a Reply

Your email address will not be published.