You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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:
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
The text was updated successfully, but these errors were encountered: