Tech Reflect
  • Home
  • About This Site
  • Contact me
  • Search Icon
Jumping between Terminal and Finder

Jumping between Terminal and Finder

2017-05-16

Depending on the situation, sometimes Finder can be the best way to interact with the file system and sometimes Terminal is better. There are a couple of little tricks for jumping.

Jump from Finder → Terminal

Tip #1

Terminal has two Services available called New Terminal Tab and New Terminal Tab at Folder.

With a folder selected in Finder, choose Finder → Services from the menu bar and choose one of the two options. Note this is quickly accessed in the contextual menu. This causes a Terminal window or tab to open, rooted at the folder you chose.

You’ll note that one of the commands has a keyboard shortcut. You can set this up in System Preferences → Keyboard → Shortcuts → Services

Tip #2

If you’re drag-n-drop oriented, you can drag any folder into an open Terminal window and the path will get pasted in. If your goal is to get into the folder easily, Tip #1 will probably be easier. Otherwise, you can type a command like “ls -alR’ into Terminal, drag a folder in from Finder and you have your path argument.

Jump from Terminal → Finder

This one is pretty straightforward, using the “open” command.

# Opens a Finder window at that path

open <path>
# Opens a Finder window at the current working directory

open . 

Related Posts:

  • Why is my own data least important in search?
    Why is my own data least important in search?
  • Old Dock tips that are still useful
    Old Dock tips that are still useful
  • Ultra high volume email workflow
    Ultra high volume email workflow

geeky, macOS tips

Post navigation

NEXT
Curly braces on the command line
PREVIOUS
The three different clipboards

Get Monthly Updates

Recent Posts

  • Flower Power and Blue Dalmatian to the rescue?
  • “Why does Mail have to be so fucking complicated?”
  • This mouse has no tail!
  • Interview feedback and the Thumb-o-meter™
  • Buy a cactus, get hired

Categories

  • analog (1)
  • apple career (11)
  • apple inside (11)
  • apple stories (17)
  • bertrand serlet (3)
  • essays (15)
  • geeky (21)
  • interviews (4)
  • iOS tips (3)
  • Mac OS X (2)
  • macOS tips (37)
  • personal (7)
  • products (4)
  • scott forstall (7)
  • scripting (1)
  • steve jobs (14)
  • tim cook (1)
  • workplace (14)

Get Monthly Updates

About cricket


Me with Guiness the owl

25 years in tech. I like to write manifestos. I like to offer interesting tips. I like making fun of things. Everyone copes differently.

My Other Blogs

  • Free Range Parrots
  • Plucky Tree (personal)
© 2022   All Rights Reserved.