Page 1 of 1

Feature request: Copy with paths.

Posted: Wed Sep 19, 2018 1:08 am
by Janus
Something I use quite often with ztree is the ability to copy files including their paths.
It has two modes, one is complete path relative to the root, the second is relative to a branch point.

I would very much like to have the ability to select a group of files.
Then be able to copy them with path either relative to their root, or from their common branching point.

Not sure if this is feasible, but it would be nice.


Janus.

Re: Feature request: Copy with paths.

Posted: Thu Sep 20, 2018 4:36 am
by therube
Tools | Options | General -> Keyboard ---> Show commands containing: copy clip

File | Copy path to clipboard (F5, I use)
File | Copy full name to clipboard (F6, I use)
File | Copy name to clipboard (Alt+N, I use)

Re: Feature request: Copy with paths.

Posted: Thu Sep 20, 2018 4:48 am
by Janus
I am aware of that, but that is not what I am talking about.
Apparently I was not a clear or specific as I had thought.

C:\a\1\b/file.txt
C:\b\2\c/file.txt
C:\c\3\d/file.txt
C:\destination\

Copy with paths would allow me to search for file.txt, select them all, then copy them so they end like this when I paste them into the destination.

C:\destination\a\1\b\file.txt
C:\destination\b\2\c\file.txt
C:\destination\c\3\d\file.txt

If I had meant file paths alone I would have indicated that.
I believed that copy with paths would be clear.
I hope this is specific enough this time.


Janus.

Re: Feature request: Copy with paths.

Posted: Thu Sep 20, 2018 8:15 am
by NotNull
Janus wrote:common branching point
Out of curiosity: what would be the common branching point of th following files (all valid names in Everything):

C:\a\1\b/file.txt
X:\b\2\c/file.txt
\\server\share\c\3\d/file.txt
\\server2\share\c\3\d/file.txt
\\?\C:\d\3\e\file.txt

(there are more possibilities)

Re: Feature request: Copy with paths.

Posted: Thu Sep 20, 2018 8:40 am
by tuska
2Janus

Do you mean something like that?
Edit | Advanced | Advanced Copy to Folder...

Re: Feature request: Copy with paths.

Posted: Thu Sep 20, 2018 9:15 am
by NotNull
@tuska: Brilliant!
I had no idea that option existed. Thanks!


BTW: You can simplify this even further:
OLD:
%1\%2

NEW:
D:\destination\%2

Re: Feature request: Copy with paths.

Posted: Thu Sep 20, 2018 10:17 am
by tuska
NotNull wrote:BTW: You can simplify this even further:
OLD:
%1\%2

NEW:
D:\destination\%2
2Notnull
That's brilliant!
Btw, I didn't know that this function existed until today either :)