PDA

View Full Version : Creating a Folder in Terminal




macbook129
Mar 7, 2008, 12:58 PM
Hi, i'm trying to create a hidden folder on my external hard drive for protecting some data but having trouble even getting to the drive location

so far all i got is;

~ cd volumes
and if i "ls" i can see the "Lacie Mini" external hard drive i want, but if i type

~ cd volumes Lacie Mini , its unrecognized.

Help Appreciated, Thanks.

(mkdir .PrivateFolder)



TEG
Mar 7, 2008, 01:01 PM
To open files with a space, enclose the name in quotation marks, cd volumes/"Lacie Mini".

TEG

xUKHCx
Mar 7, 2008, 01:02 PM
You can drag and drop the external into the terminal window and it will create the path automatically for you.

You want

cd /Volumes/Lacie\ Mini

macbook129
Mar 7, 2008, 01:06 PM
Thank You, works great!