Page 1 of 1

Options for "Copy File Path"

Posted: Sun Jan 08, 2017 5:51 pm
by JayB
EDIT: also migrated to GitHub

XtraFinder has some neat options for file path copying; examples:

Code: Select all

Terminal: /Users/UserName/go/src/github.com/hanwen/go-fuse/all.bash
Short Terminal: ~/go/src/github.com/hanwen/go-fuse/all.bash
URL: file:///Users/UserName/go/src/github.com/hanwen/go-fuse/all.bash
Short URL: file:///~/go/src/github.com/hanwen/go-fuse/all.bash
Windows: \Users\UserName\go\src\github.com\hanwen\go-fuse\all.bash
HFS/AppleScript: BootVolName:Users:UserName:go:src:github.com:hanwen:go-fuse:all.bash
Would be great to have in NC. Default (with shortcut ALT-CMD-C) should be full Terminal path, as it is currently; the others could be options in a submenu.

Re: Options for "Copy File Path"

Posted: Mon Jan 09, 2017 3:58 pm
by mike
Interesting idea, though one question is still open - how to choose between these paths formats?
Showing popup menus all the time looks like an overkill, and it's not clear what to show there if many entries are selected.

Re: Options for "Copy File Path"

Posted: Mon Jan 09, 2017 4:09 pm
by JayB
As a suggestion: in Nimble Commander menu "Command" you'd have a submenu called "Copy File Path…", and in that submenu you'd have the first submenu entry "POSIX" with the standard shortcut ALT-CMD-C, then maybe a separator, and after that the other options – POSIX (short), HFS, URL, URL (short), Windows –, but all of these other ones without their own shortcuts. This means that the shortcut functionality would remain exactly the same, and the additional options would only be accessible with mouse interaction, comparable to e.g. Command > Links > Create Hard Link etc.

Re: Options for "Copy File Path"

Posted: Mon Jan 16, 2017 4:40 am
by mike
Looking good, will do in 1.2.x.