file.copyDataFork

Syntax file.copyDataFork (sourcePath, destPath)

Params sourcePath is a full path name to the file from which you wish to copy the entire data fork to the file named in destPath.

destPath is a full path name to the file to which you wish to copy the entire data fork of the file named in sourcePath.

Action Copies the data fork of the file, not the resource fork.

Returns True

Examples file.copyDataFork ("System:System Folder:System", "System:Backups:System Data Archive")

   » true

See Also file.copy

file.copyResourceFork

Discuss