[GH-ISSUE #59] Add ability to use username wildcard #60

Closed
opened 2026-02-25 21:32:33 +03:00 by kerem · 6 comments
Owner

Originally created by @ackwrath on GitHub (Mar 22, 2019).
Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/59

Originally assigned to: @clechasseur on GitHub.

sync onedrive files are stored under the users directory. Enable the ability to swap the currentusername with %USERNAME% to allow links to be sent via msg.

Originally created by @ackwrath on GitHub (Mar 22, 2019). Original GitHub issue: https://github.com/clechasseur/pathcopycopy/issues/59 Originally assigned to: @clechasseur on GitHub. sync onedrive files are stored under the users directory. Enable the ability to swap the currentusername with %USERNAME% to allow links to be sent via msg.
kerem 2026-02-25 21:32:33 +03:00
Author
Owner

@clechasseur commented on GitHub (Mar 22, 2019):

Sounds like it would be possible to do this with a custom command. Can you give an example of a path, before it would be modified and after (e.g. what you need it to be)?

<!-- gh-comment-id:475614541 --> @clechasseur commented on GitHub (Mar 22, 2019): Sounds like it would be possible to do this with a custom command. Can you give an example of a path, before it would be modified and after (e.g. what you need it to be)?
Author
Owner

@ackwrath commented on GitHub (Mar 25, 2019):

Before:
C:\Users\jchow\Company Onedrive Name\Project name

After:
C:\Users%USERNAME%\Company Onedrive Name\Project name

I would hope you could find the string users<current environmental variable %USERNAME%> and replace with user%USERNAME%

<!-- gh-comment-id:476015873 --> @ackwrath commented on GitHub (Mar 25, 2019): Before: C:\Users\jchow\Company Onedrive Name\Project name After: C:\Users\%USERNAME%\Company Onedrive Name\Project name I would hope you could find the string users\<current environmental variable %USERNAME%> and replace with user\%USERNAME%
Author
Owner

@clechasseur commented on GitHub (Mar 25, 2019):

Ok. This would be an enhancement, as from what I understand it's not currently possible to do this.

<!-- gh-comment-id:476019107 --> @clechasseur commented on GitHub (Mar 25, 2019): Ok. This would be an enhancement, as from what I understand it's not currently possible to do this.
Author
Owner

@ackwrath commented on GitHub (Mar 25, 2019):

no worries. cheers

<!-- gh-comment-id:476019366 --> @ackwrath commented on GitHub (Mar 25, 2019): no worries. cheers
Author
Owner

@clechasseur commented on GitHub (Aug 14, 2019):

This is related to #65.

<!-- gh-comment-id:521075695 --> @clechasseur commented on GitHub (Aug 14, 2019): This is related to #65.
Author
Owner

@clechasseur commented on GitHub (Aug 14, 2019):

In fact, this is a subset of #65. I'll close this one; follow #65 for further development.

<!-- gh-comment-id:521075866 --> @clechasseur commented on GitHub (Aug 14, 2019): In fact, this is a subset of #65. I'll close this one; follow #65 for further development.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pathcopycopy#60
No description provided.