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

Copy Path with the option of POSIX formatting to escape space characters #215

Open
briantully opened this issue Apr 13, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@briantully
Copy link

Summarize this feature

Unlike Linux, most Mac users (and macOS itself) create folders/directories that contain spaces between words, e.g., "/path/My Folder/My Subfolder", "/Library/Application Support/Apple", etc.

However when the "Copy Path" feature is selected from the contextual menu for any of these paths, it copies the path that is not usable in the Terminal due to the space characters not being escaped. For example if I wanted to copy the path and act on it in the Terminal, it would show an error:

cd /Library/Application Support/Apple
cd:cd:8: no such file or directory: /Library/Application

Why should this feature be included?

Ideally "Copy Path" would provide an option to copy the path in POSIX format, which would escape the space (and other illegal) characters, so that it copies the above path as /Library/Application\ Support/Apple

@briantully briantully added the enhancement New feature or request label Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant