News for hackers. Stuff that matters.
Re:Quickly navigate your filesystem from the command line by mistercow on Saturday August 17, 2013 @04:51PM (#6230346)
I used to have a really hacky AppleScript to do the same thing in OS X. The crappy part was that launching the whole AppleScript runtime was really slow, but that was the only API I could find with getting that information from the Finder.
Re:Quickly navigate your filesystem from the command line by mrmaddog on Saturday August 17, 2013 @05:05PM (#6230372)
You can also drag any file or folder onto your terminal, which will paste the absolute filepath at your cursor point.
Re:Quickly navigate your filesystem from the command line by mistercow on Saturday August 17, 2013 @08:23PM (#6230974)
Yeah, but I rarely use the mouse when using either a file browser or the terminal, so switching to it is less convenient than a short terminal command.