15
7
I have two hard drives on my machine (Lion). One contains the regular copy of OS that I use everyday, the one has a slightly older copy of the OS that I keep as a backup (in case the first drive stops working).
A somewhat annoying problem is that whenever I right-click on a file and go to "Open With", two entries for each application I have will show up in the cascading menu, one from each copy of an application from the two drives. The one from the everyday-use-drive will have a newer version because I update them regularly (This way I can tell which app to use).
I looked around the documentation and it seems like I can use Launch Services
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
but I haven't found any example that does exactly what I am looking for. Any ideas? Thanks!
Unmount the other partition? – Daniel Beck – 2011-10-21T12:28:55.107
I don't want to do that because I have some other files (that I actively use) in the same drive. – ceiling cat – 2011-10-21T17:34:06.073