Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you cmd-drop a file icon into Terminal, it will automatically cd into the parent directory, it prefixes the path with cd and appends ; at the end and executes it. If the icon is a folder, it will automatically cd into that directory.

If you shift-drop a file icon into Terminal, it will paste the file path to the command line without escaping spaces.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: