Saturday, October 14, 2023
HomeSoftware 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 guaranteeing completely different file varieties open within the app they’re most proficient in. If me, I favor 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 varieties. You’ll be able to set up duti with brew:

brew set up duti

Upon getting duti out there, 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’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 actually nice for figuring out and automating default app administration!



Supply hyperlink
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments