A cool Terminal trick from Brett Terpstra: Add the line below to your .bash_profile file. Then when you type f in Terminal, and it will open the current directory in Finder.

f() { open -a "Finder" "${1-.}"; }

You can also pass a directory name to the command, and it will open that directory.

bash: Open matching files in a specific application

A bash function that opens files matching a pattern in the specified application
Continue reading

Quitting Time

Published on June 04, 2019

Blue Feather

Published on October 02, 2018