NAME
//uussrr//bbiinn//CCppMMaacc - copy files preserving metadata and forks
SYNOPSIS
//uussrr//bbiinn//CCppMMaacc [-rrpp] [-mmaacc] source target
//uussrr//bbiinn//CCppMMaacc [-rrpp] [-mmaacc] source ... directory
DESCRIPTION
In its first form, the //uussrr//bbiinn//CCppMMaacc utility copies the contents of the file named by the source operand to the destination path named by the target operand. This form is assumed when the last operand does not name an already existing directory.In its second form, //uussrr//bbiinn//CCppMMaacc copies each file named by a source op-
erand to a destination directory named by the directory operand. Thedestination path for each operand is the pathname produced by the con-
catenation of the last operand, a slash, and the final pathname component of the named file. The following options are available:-rr If source designates a directory, //uussrr//bbiinn//CCppMMaacc copies the direc-
tory and the entire subtree connected at that point. This option also causes symbolic links to be copied, rather than indirected through, and for //uussrr//bbiinn//CCppMMaacc to create special files rather than copying them as normal files. Created directories have the same mode as the corresponding source directory, unmodified by the process' umask.-pp Causes //uussrr//bbiinn//CCppMMaacc to preserve in the copy as many of the modi-
fication time, access time, file flags, file mode, user ID, and group ID as allowed by permissions.-mmaacc Allows use of HFS-style paths for both source and target. Path
elements must be separated by colons, and the path must begin with a volume name or a colon (to designate current directory). NNOOTTEESS The //uussrr//bbiinn//CCppMMaacc command does not support the same options as the POSIX ccpp command, and is much less flexible in its operands. It cannot be used as a direct substitute for ccpp in scripts. As of Mac OS X 10.4, the ccpp command preserves metadata and resource forks of files on Extended HFS volumes, so it can be used in place of CCppMMaacc. The //uussrr//bbiinn//CCppMMaacc command will be deprecated in future versions of Mac OS X.SEE ALSO
cp(1) MvMac(1) Mac OS X April 12, 2004 Mac OS X