Dealing with "&"

Joined
Jul 11, 2014
Messages
296
Reaction score
5
Points
18
Your Mac's Specs
A1286 MBP5,3 running 10.9.5, iphone6, Mac mini1,1 A1176 120/2gb
I am trying to change directories to"Brooks & Dunn"
I know that I can use the " " for the spaces, but how do you deal with the "&"?
cd Brooks" "&" "Dunn <CR> Doesn't work.
Ideas?
If it matters, this is on Snow Leopard on a mac mini
 

vansmith


Retired Staff
Joined
Oct 19, 2008
Messages
19,966
Reaction score
606
Points
113
Location
Queensland
Your Mac's Specs
Too many devices to list
You'll have to clarify things. If you're changing directories, simply double click the folder that you want to open. Are you scripting something?
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
16,007
Reaction score
2,410
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
Code:
cd Brooks\ \&\ Dunn
or
Code:
cd "Brooks & Dunn"
The whole thing has to be in quotes..
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top