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

clipr::read_path() #37

Closed
danielsjf opened this issue Dec 28, 2018 · 1 comment
Closed

clipr::read_path() #37

danielsjf opened this issue Dec 28, 2018 · 1 comment
Labels

Comments

@danielsjf
Copy link

As a feature request, it would be convenient if clipr could also have a function to get the file or folder name of an object.

In Windows, there are ways to do this.
https://www.codeproject.com/Questions/614723/GetFileName-from-Clipboard-Cplusplus

@mdlincoln
Copy link
Owner

Thanks for this idea. Unfortunately, getting the full path rather than just the file name seems entirely platform-dependent. For example, "copying" a file on OS X and then calling pbpaste gives the file name but nothing about the larger path. clipr strives to be platform-independent so it can do the same thing regardless of being on Windows, OS X, Red Hat, etc.

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

No branches or pull requests

2 participants