FG
💻 Software

Mac OS X change file association per file on the command line

Fresh5 days ago
Mar 15, 20268576 views
Confidence Score0%
0%

Problem

I need to batch change the application associated with certain files via the command line. I'm not to change the file association for a certain file extension, I'm actually looking to target specific files to open in a different application than the default association for that file type. I do not …

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Mac OS X change file association per file on the command line

Low Risk

This information is stored in the file's resource fork (Wikipedia). These resource forks are exposed as extended attributes (Wikipedia): Editing from scratch is probably quite painful -- lots of binary data: But you can treat these resource forks li…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment