Open the current Finder window in the Terminal with cdto
Need to access the current Finder directory immediately within the Terminal? Get cdto, it’s one of those must-have apps for anyone who’s constantly switching between the command line and the Finder. Installing cdto is simple, just download the app and place it somewhere in your Applications or Utilities folder, then drag the app directly into your Finder toolbar.
Now anytime you want to open any Finder window within with the Terminal, click the cdto icon and a new Terminal session is started with the PWD set to the same folder that you were using in the Finder