Batch fix default programs to save time (a macOS thing).
You've installed a new app and suddenly it takes over file associations on your system.
Over time you end up with:
- Typescript files associated with
VLC.app
!???? 🤦♀️ - SQL files associated with
Tableplus.app
🤦♂️ - JSON files associated with
Xcode.app
🤦♂️ - CSS files assocated with
MAMP.app
🤦♀️ - CSV files associated with
Microsoft Excel.app
🤦♂️ - Python and PHP files associated with
Max for Live.app
🤦♀️ 🤦♂️
This WILL be something you just go "eh, too much work" and ignore. And over the course of your life, it will eat up 10,000 productive hours of your time.
The solution is to do it in one batch manually - or even better - write a program that does it for you.
All I've done here is gather up some of my commonly used web development file-types into one folder, so I don't have to jump around all my files.
I haven't written a program (yet), but I'm thinking it will probably need to be an AppleScript thing?
Egh.
- Select all the files, Right Click, and choose "Get Info"
- 19 cancerous windows will blanket your screen
- For each file, click "Open With", select an application, and then click "Change All..."
⛔ Before: Files all whacked out (as mentioned above)
✅ After: Files all associated with VSCodium, and all is right in the world again.