Jump from Terminal to Finder and back again

Alan Shaw
InstructorAlan Shaw
Share this video with your friends

Social Share Links

Send Tweet

Smooth your workflow by opening Finder from Terminal and vice versa at a specific folder.

Instructor: [00:00] To open finder from a terminal, we can simply say open and give it a directory, such as doc. Open is like double clicking. It opens its argument in the default app for its file type as specified in launch services. The default app for a folder is finder.

[00:18] What about opening a new terminal from the finder? If you haven't done it already, go to the finder menu, services, services preferences, and scroll down until you find new terminal at folder. Enable it.

[00:40] Preferably give it a keyboard shortcut. I have chosen command nine, but you can pick anything that isn't already in use.

[00:52] If I click on a folder and hit my shortcut, it opens a new terminal window at that folder. By the way, as I said, if I say open a file, it will open it in the default app for that file, which in this case is preview.

[01:16] If I give it a -a option to open, and specify an app just by name without its path name, it will open the arguments in that app. Furthermore, if I say open and -a and the name of an app, without passing it an argument, it will open the app.