[CentOS] [OT] OSX-10.9.3 cd ~'/ problem with spaces'
SilverTip257
silvertip257 at gmail.com
Tue Jun 3 16:13:13 UTC 2014
On Tue, Jun 3, 2014 at 10:53 AM, James B. Byrne <byrnejb at harte-lyne.ca>
wrote:
> Apologies for this OT post. I need some help debugging a bash script. It
> just happens to be provided by Apple Inc.
>
> In a terminal session under OSX-10.9.3 I want do do this:
>
> cd ~/'Library/Application Support'
>
> Which is a simple enough request. However, OSX returns: cd
> /users/byrnejb/Library/Application: No such file or directory. The space
> evidently acts as a delimiter to cd even though the path is quoted.
>
I don't use, nor do I have a copy of OSX to test against, but my suggestion
may still apply.
Escape the space with a backslash.
cd ~/Library/Application\ Support
--
---~~.~~---
Mike
// SilverTip257 //
More information about the CentOS
mailing list