revCopyFile broken on OS X?

James.Cass at sealedair.com James.Cass at sealedair.com
Mon Oct 6 08:53:01 EDT 2003





The terminal command "CpMac"  will properly copy a Mac file with it's Data
and Resource info.

You'll have to install Mac OS X Developer Tools to get it though.

-James




|---------+------------------------------------->
|         |           "Ken Ray"                 |
|         |           <kray at sonsothunder.com>   |
|         |           Sent by:                  |
|         |           use-revolution-admin at lists|
|         |           .runrev.com               |
|         |                                     |
|         |                                     |
|         |           10/06/03 09:28 AM         |
|         |           Please respond to         |
|         |           use-revolution            |
|---------+------------------------------------->
  >-------------------------------------------------------------------------------------------------------|
  |                                                                                                       |
  |       To:       <use-revolution at lists.runrev.com>                                                     |
  |       cc:                                                                                             |
  |       Subject:  RE: revCopyFile broken on OS X?                                                       |
  >-------------------------------------------------------------------------------------------------------|




RevCopyFile uses "cp" through the shell, which copies attributes but
does not copy the resource fork properly.

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com] On Behalf Of
> Brian Yennie
> Sent: Monday, October 06, 2003 2:29 AM
> To: use-revolution at lists.runrev.com
> Subject: Re: revCopyFile broken on OS X?
>
>
> I can't speak to revCopyFile, but on OS X there is a shell
> command for
> copying files with resource fork intact. If that's not what
> revCopyFile
> is using, you could try it:
>
> get shell("ditto -rsrcFork
> "&quote&sourcePath&quote&&quote&destPath&quote)
>
> You might try it out first in Terminal.app if you haven't
> used shell()
> before. For more information about ditto, type "man ditto" into
> Terminal.app.
>
> If that's what revCopyFile uses already, maybe it's a remote volume /
> server problem?
>
> HTH
>
> Brian
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-> revolution
>


_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list