PDA

View Full Version : CpMac


Sumleilmus
04-04-2004, 03:52 PM
Hello.

I've read about CpMac in UNIX books, and I've read the man pages, and I've installed Fink, I think, and I still don't have CpMac available to me to use.

Here's what Terminal returns:

CpMac /Users/reuser/Documents/PalmLevelII.rtf /Users/reuser/Desktop
-bash: CpMac: command not found

I suspect this is a shell configuration issue (but I'm probably mistaken).

What would be a good next step to try, or what information have I failed to supply in this post?

Thanks.

hayne
04-04-2004, 03:55 PM
CpMac is part of Apple's Developer Tools. Did you install the Developer Tools (aka XCode Tools)?
After the install, it should be under the /Developer/Tools folder
so try executing it with the full path /Developer/Tools/CpMac

Sumleilmus
04-04-2004, 04:28 PM
Well, I didn't realize that some UNIX commands have to be invoked with their paths.

I tried executing /Developer/Tools/CpMac /Users/reuser/Documents/PalmLevelII.rtf /Users/reuser/Desktop

and it returned Korybantiks:~ reuser$

The file, with both forks, was copied.

Thank you very much. This also points me in the direction of more things I need to learn about UNIX commands. I'm sure there must be many others that need to be invoked with their paths. I bet it would be interesting to look, for example, at /Developer/ as well as /Developer/Tools/

hayne
04-04-2004, 05:56 PM
I didn't realize that some UNIX commands have to be invoked with their paths You need to read up on the use of the PATH variable in shells. I would recommend that you go through one of the many UNIX tutorials available on the net. All of these will talk about the PATH variable. Just google, or search on these forums for: UNIX tutorial