4 ms·
drag + drop files to terminal to get its location. I often do "cd " + dragon drop folder to get to that folder in terminal
by emehrkay 13y ago
drag + drop files to terminal to get its location.
I often do "cd " + dragon drop folder to get to that folder in terminal
- MaxGabriel 13y agoThere's a free app called Go2Shell that adds a button to finder to open the current directory in Terminal/iTerm. Also works great in conjunction with "open ."
- sandipc 13y agoWow, so simple but so useful. Thanks!
- lunixbochs 13y agoYou can drag/drop many things onto an application icon in the dock to open them in a new window. This includes dragging a folder's proxy icon to the terminal app to open the current Finder window in a new terminal. The proxy icon is the little icon in the top middle of the window, to the left of the name.
- kps 13y agoI'm a bit late, but it's useful to know that while dragging, keystrokes are handled normally. Using the parent comment's operation as an example, you can start dragging a folder in the Finder, then Command-Tab to the terminal (or hover over the Dock icon and then hover over the proxy window), Command-` to a particular terminal window, or Command-N to open a new one, and then type "cd " before finally dropping the file. ("cd " is nicely left-handed for those using the right hand for the pointing device.)