Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Command-drag to Terminal to change directory ' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Command-drag to Terminal to change directory
Authored by: TheGS on Aug 01, '12 04:19:13AM
On 10.8, command-dragging the folder icon into the terminal window do these 3 things beyond simply entering in the path to the folder, in this order...
  1. Cancel what's currently on the command line and re-display the prompt (on the next line, etc.)
  2. Enter 'cd' and a space and then the path to the directory and then a semi-colon.
  3. Finally execute the above 'cd' command for you.

No need for you to manually type the 'cd ' and then drag the icon in and then hit enter if all you want to do is cd to that directory; Terminal.app does all that for you if you hold down the command key.

[ Reply to This | # ]