cdto is a Mac-only script used to open a terminal at the current Finder folder.
-
Double click
cdto.scpt
to open it in Script Editor -
Go to
File -> Save as...
and choose Application as the File Format -
Open a Finder window.
-
Hold the Command key and drag the application you just saved into the toolbar. When you let go it should stay in the toolbar.
-
Optionally, change the app icon.
- Open
cdto_elcap+.png
from this repo inPreview
Select All
,Copy
- Do a
Get Info
on the application in Finder - Select the icon in the top left and
Paste
- Open
Click the app in the toolbar to open a terminal for whichever Finder window is currently active.
You may see a dialog like the following on recent versions of macOS. Since you can verify the contents of the script, just click OK to allow it to run.