DOH!! I guess I shoulda looked into the root directory. Is there a tutorial anywhere that will answer all the dumb questions I have?
Like how to copy a file from one directory to a flash drive using terminal, or to an external hard drive? How do I run a DVD on my machine, millions of seemingly dumb questions have I... how do I boot up with my chosen PC directories as folders on my desktop-lots of dumb stuff
Edited by papabill (11/13/1007:19 PM)
_________________________ I can do all things through Christ which strengtheneth me.Philippians 4:13
#544251 - 11/14/1006:59 PMRe: Help finding directories
[Re: papabill]
MacGizmo
Moderator
Registered: 04/03/02
Posts: 18620
Loc: Arizona
Not sure why you would want to use the Terminal to do something you can do right in the Finder simply by drag & drop, but you can do it with the following command:
According to my Mac, my flash drive is /dev/disk2 249408 110 249298 0% /Volumes/FLASH
I want to copy /etc/httpd/httpd.conf to this device. What is the proper syntax to accomplish this? I've tried cp /etc/httpd/httpd.conf /dev/disk2/httpd.conf, but it gives me this error: cp: /dev/disk2/httpd.conf: Not a directory
I cannot even go cd /dev/disk2, because it gives me the same error. How do I change to that device or to another drive?
_________________________ I can do all things through Christ which strengtheneth me.Philippians 4:13
You are making this waaay to complicated. Just drag and drop. Shed your old PC habits or you gonna make yourself nuts. Go the easy route for now and then f you wanna be a Mac Geek later you will have some familiarity with the lay-of-the-land.
The drive should be already mounted on your desktop, open it by dbl clikking and open a window for the receiving folder and drag... or select all wanted files and copy paste into receiving folder.
Unfortunately, that does not work. I try cd /dev/disk2s1, and what I get is "-bash: cd: /dev/disk2s1: Not a directory", and cd /usb drive and what I get is -bash: cd: /usb: No such file or directory
Edited by papabill (11/15/1009:03 AM)
_________________________ I can do all things through Christ which strengtheneth me.Philippians 4:13
Unfortunately, that does not work. I try cd /dev/disk2s1, and what I get is "-bash: cd: /dev/disk2s1: Not a directory", and cd /usb drive and what I get is -bash: cd: /usb: No such file or directory
I'm lost then. cd /Volumes/(name of flash drive) works here. It appears your drive is named FLASH, so it should be typed exactly cd /Volumes/FLASH There is a space between cd and /Volumes/
Why don't you just use the Finder like three of us have suggested though?