Options for "Copy File Path"

Any wishes
Post Reply
JayB
Posts: 142
Joined: Sun Jan 08, 2017 4:38 pm

Options for "Copy File Path"

Post by JayB » Sun Jan 08, 2017 5:51 pm

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.

User avatar
mike
Posts: 803
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Options for "Copy File Path"

Post by mike » Mon Jan 09, 2017 3:58 pm

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.

JayB
Posts: 142
Joined: Sun Jan 08, 2017 4:38 pm

Re: Options for "Copy File Path"

Post by JayB » Mon Jan 09, 2017 4:09 pm

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.

User avatar
mike
Posts: 803
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Options for "Copy File Path"

Post by mike » Mon Jan 16, 2017 4:40 am

Looking good, will do in 1.2.x.

Post Reply