On Aug 18, 2006, at 10:29 AM, [EMAIL PROTECTED] wrote:

On Aug 18, 2006, at 14:45 UTC, Peter De Berdt wrote:

dim sh as new Shell

sh.execute "cp -R "+sourceDirectory.shellpath+"
"+destinationDirectory.shellpath

Untested, but should work, maybe I left out a few parameters of the
shell, check the language reference.

Note: cp is not a safe way to copy Mac files!  It will strip resource
forks and metadata.  Use ditto instead (see man ditto for details).

Actually, as of 10.4, nearly every command line tool now preserves resource forks and HFS data. This includes, tar, cp, zip, etc.

HTH,
Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to