News for hackers. Stuff that matters.
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.