mirror of
https://github.com/clechasseur/pathcopycopy.git
synced 2026-04-25 04:05:55 +03:00
[GH-ISSUE #84] Feat request. Copy #n paths from first/last #83
Labels
No labels
bug
duplicate
enhancement
enhancement
enhancement
fixed
help wanted
help wanted
invalid
pull-request
question
waiting for input
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pathcopycopy#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Corvus71 on GitHub (Sep 6, 2019).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/84
Originally assigned to: @clechasseur on GitHub.
Suppose I have: \dir1\dir2\dir3\dir4\file1.exe
It would be nice if there was an option to choose copy #n paths from last/first (in the options when adding a new command in simple mode)
e.g.
copy 1 paths from last: (long path)
\dir4\file1.exe
copy 2 paths from last: (long path)
\dir3\dir4\file1.exe
copy 2 paths from first (long parent folder path)
\dir1\dir2\
Background info:
When emailing onedrive links from locally synced files it does not make sense to send the whole folder location since a personal %userprofile% environment variable is in there
c:\user<userid><company name>\dir1\dir2\file1.exe
The part is different per person so only sending \dir2\file1.exe would be enough for another person to find the file.
@clechasseur commented on GitHub (Sep 6, 2019):
This would be doable via a regular expression, I think, but I like the idea of making it easier to do.
@clechasseur commented on GitHub (Jul 5, 2020):
This has been implemented as a new expert-only custom command element type. It will be available in the next version.