Re:Useful built-in macOS command-line utilities
by kps on Wednesday November 06, 2024 @09:32AM
(#42062836)
You mean `open .`
Re:Useful built-in macOS command-line utilities
by alsetmusic on Wednesday November 06, 2024 @03:32PM
(#42068896)
Yeah, I had just woke up. Drat.
Re:Useful built-in macOS command-line utilities
by sneak on Wednesday November 06, 2024 @11:36AM
(#42064862)
You can also just drag the proxy icon onto the terminal window for its path, ie “cd “ <drop>, enter.
Re:Useful built-in macOS command-line utilities
by kstrauser on Wednesday November 06, 2024 @12:14PM
(#42065539)
I use that all the time. You can also cmd-c copy a file in Finder then paste into the terminal to get its path.
Re:Useful built-in macOS command-line utilities
by alsetmusic on Thursday November 07, 2024 @09:40AM
(#42076998)
I genuinely didn't know this. I would have thought I had to do the "copy as pathname" trick with a right-click while holding Option. I already knew the drag and drop feature, so this doesn't really save me time, but it's good to know another nice feature.
Not mine (found online years ago), but here's the opposite. `cd` into the frontmost Finder window: