OS X: How to open files in finder

root's picture

Open With: Just this file, only this time

Select the icon, choose File -> Open With and select the desired application from the list.
In the example below you do right click on the application and select "Open With" directly.

Always open with: just this file

Now let's say the same file you want to always open with an application.
By going trough the same menu as above, you hold down the option key (alt) and "Open With" will become "Always Open With".

Always open with: all files with the same type

This is a bit different. You have to select the icon, right click, choose "Get Info" and then from "Open With", select the desired application and press "Change All..." button

Thou shalt not steal!

If you want to use this information on your own website, please remember: by doing copy/paste entirely it is always stealing and you should be ashamed of yourself! Have at least the decency to create your own text and comments and run the commands on your own servers and provide your output, not what I did!

Or at least link back to this website.