Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the jetpack domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/feedavenue.com/public_html/wp-includes/functions.php on line 6114
Determine Default App for File Type from Command Line - Feedavenue
Thursday, January 9, 2025
HomeTechnologySoftwareDetermine Default App for File Type from Command Line

Determine Default App for File Type from Command Line

Date:

Related stories

Sending Love to L.A., and What to Do Now

Our beloved L.A. readers, we are thinking of...

Free Printable Moon Coloring Pages for Kids and Adults

Last updated: January 8, 2025 by the Homemade...

How Knowing Teen Brains a Little Better Can Help Coaches Be Effective Mentors

The mentor’s mindset shatters the idea that influential...

My favorite musical discoveries of 2024

It's that time of year when I share...

Sock It To Me Cake

This website may contain affiliate links and advertising...
spot_imgspot_img

One quality of life improvement any developer can make for themselves is ensuring different file types open in the app they’re most proficient in. If you know me, you know I prefer accomplishing as much as possible from the command line. The duti utility allows users to determine default file type from command line.

The duti utility allows developers to query which app is the default for different file types. You can install duti with brew:

brew install duti

Once you have duti available, you can check on the default app for file type with the following command:

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

You can set the default app by using its package:

duti -s com.sublimetext.2 .js all

The duti utility is really great for determining and automating default app management!



Source link

Latest stories

spot_img