Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert UNC path to SMB path #46

Closed
ghost opened this issue Oct 31, 2018 · 3 comments
Closed

Convert UNC path to SMB path #46

ghost opened this issue Oct 31, 2018 · 3 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Oct 31, 2018

Hello!

Please could you add another option to convert a UNC path to SMB path?
Quite similar to Internet path, smb://path instead of file://path

Currently it would be really useful for PC to Mac sharing!

Thanks!
Regards

@clechasseur clechasseur self-assigned this Nov 18, 2018
clechasseur added a commit that referenced this issue Nov 18, 2018
@clechasseur
Copy link
Owner

This has been implemented in master and will be part of the next release.

@clechasseur clechasseur added this to the 16.0 milestone Nov 18, 2018
@clechasseur
Copy link
Owner

Not sure I understand as Path Copy Copy does not have clickable links. Do you mean that the Copy SMB Path command does not produce a path in the correct format? If so, what is the correct format?

@clechasseur
Copy link
Owner

The Samba command seems like too fringe a feature to add a new command to copy the parent folder path... and if I change the default behavior, it will seem out-of-place compared to the Internet command.

I suggest you create a custom command based on Copy Samba Path and use regular expressions to keep only the folder path:

Find what: ^(.*/)[^/]*$
Replace with: $1

In my tests here it succeeds in copying the parent folder path, including terminating /.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant