News for hackers. Stuff that matters.
Re:Drag and Drop from Terminal by douglee650 on Saturday December 03, 2022 @01:27AM (#33841212)
On Mac, I think you can `open .` and it will open a finder window in the pwd
Re:Drag and Drop from Terminal by sime2009 on Saturday December 03, 2022 @02:51AM (#33841619)
`open .` will work on most Linux systems too.
Re:Drag and Drop from Terminal by chrismorgan on Saturday December 03, 2022 @02:54AM (#33841636)
Don’t think I’ve come a binary named open on a Linux machine. (And under Arch Linux, `pacman -F /usr/bin/open` produces nothing, so no package in the standard repositories contains it.) I’m guessing you’re thinking of `xdg-open .`.
Re:Drag and Drop from Terminal by Symbiote on Saturday December 03, 2022 @03:18AM (#33841732)
There's also "see ."
Re:Drag and Drop from Terminal by chrismorgan on Saturday December 03, 2022 @04:19AM (#33842055)
Never heard of it, nor can I find any references to it, or Arch Linux packages containing it.
Re:Drag and Drop from Terminal by Symbiote on Saturday December 03, 2022 @08:55PM (#33849732)
See this. I suspect it's installed by default on Ubuntu.

https://manpages.ubuntu.com/manpages/xenial/man1/run-mailcap...

Re:Drag and Drop from Terminal by zxcvgm on Saturday December 03, 2022 @03:01AM (#33841667)
I usually use “start .” on Windows to achieve the same.
Re:Drag and Drop from Terminal by CGamesPlay on Saturday December 03, 2022 @04:13AM (#33842019)
You can also `open -R $filename` and it will open the directory in finder with the relevant file selected.