|
|
cd to "School Files"
|
|
|
|
Mac Elite
Join Date: Jan 2004
Location: Berkeley, CA
Status:
Offline
|
|
How do I use the shell to cd to a folder named "School Files"? The space is messing it up. Thanks.
|
"Give me a lever long enough and a fulcrum on which to place it, and I shall move the world." -Archimedes
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status:
Offline
|
|
Three choices:
cd School\ Files
cd "School Files"
cd 'School Files'
If the folder name itself has the quotation marks, that's left as an exercise for the reader.
|
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Easiest way to find out is to just drag the file you need into the Terminal window. It'll write the whole path for you.
tooki
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2004
Location: Berkeley, CA
Status:
Offline
|
|
Wow, how did I not remember the quotation marks...
Thanks .
|
"Give me a lever long enough and a fulcrum on which to place it, and I shall move the world." -Archimedes
|
|
|
|
|
|
|
|
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status:
Offline
|
|
Of course, that becomes a problem if the file name contains quotation marks! The most reliable way to discover the path is to drag and drop.
tooki
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|