revCopyFile broken on OS X?
katir at hindu.org
Tue Oct 7 23:03:01 CDT 2003
"ditto" works perfectly.
Resource fork is maintained. File is copied with creator type etc all
intact and boots into the right application.
Two caveats which I would like to understand, just for my training on
a) I could not get this to work:
get shell ("ditto -rsrcFork ""e
&(gRemotePath&gRemoteFile)"e&"e& fld "localfolder""e)
instead I had to do this:
put ("ditto -rsrcFork ""e &(gRemotePath&gRemoteFile)"e&"e&
fld "localfolder""e) into tCommand
get shell (tCommand)
b) use of "get" why is it needed? is it because this is a function and
not a command?
Thanks, this list is such a great resource...
Aloha from Kauai
On Sunday, October 5, 2003, at 09:28 PM, Brian Yennie wrote:
> 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
> 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
> If that's what revCopyFile uses already, maybe it's a remote volume /
> server problem?
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode