revCopyFile broken on OS X?

Ken Ray kray at sonsothunder.com
Mon Oct 6 08:41:00 EDT 2003


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
> 





More information about the use-livecode mailing list