Re: [OT] OSX-10.9.3 cd ~'/ problem with spaces'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Jun 3, 2014 at 10:53 AM, James B. Byrne <byrnejb@xxxxxxxxxxxxx>
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  //
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux