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
[ Parent
| on HN ]
`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 .`.
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.
See this. I suspect it's installed by default on Ubuntu.
https://manpages.ubuntu.com/manpages/xenial/man1/run-mailcap...
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.