Networking | Hardware | Software | Multimedia | System | Unix&Linux | MBA

Home>>Unix&Linux>>CpMac

CpMac

Sumleilmus
04-04-2004, 02: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, 02: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, 03: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, 04: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


 

TOP

Windows Server Outsell
Unix Signals And C++ E

For more info

Unix Signals And C++ E
Windows Server Outsell
ssh setup for password
Bash script does not w
esc code 
ARD send unix command 
question about binarie
Scanning mail 
Issuing multiple comma
How do I install Linux

News Archive

/etc/hosts? 
Manually Start a Start
mounting missed hard d
Using Netinfo in Singl
darwin/bsd login probl
system_profiler and fi
Send mail from script 
mounting a drive 
OS X disk first aid ha
system.log shows steal

Related stories:

Authenticating from command-line when "su user ..."
Scanning mail
Get a Tab Del File from ls output
Extracting CPIO archive
Unmounting
Problems installing from source
.bashrc not being executed?

Copyright@2004-2005 www.zzcoke.com All Right Reserved

advanced web statistics