Platforms to show: All Mac Windows Linux Cross-Platform
Back to CopyFileMBS class.
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy the source file's access control lists.
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy the entire file; equivalent to BitwiseOr(kFlagsMetaData, kFlagsData).
CopyFileMBS.kFlagsCheck = &h10000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Return a bitmask (corresponding to the flags argument) indicating which contents would be copied; no data are actually copied. (E.g., if flags was set to kFlagsCheck + kFlagsMetaData, and the from file had extended attributes but no ACLs, the return value would be kFlagsXAttr.)
CopyFileMBS.kFlagsClone = &h1000000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Try to clone the file instead. This is a best try flag i.e. if cloning fails, fallback to copying the file. This flag is equivalent to BitwiseOr(kFlagsExcl, kFlagsACL, kFlagsStat, kFlagsXAttr, kFlagsData, kFlagsNoFollowSource).
Note that if cloning is successful, progress event will not be invoked. Note also that there is no support for cloning directories: if a directory is provided as the source and kFlagsCloneForce is not passed, this will instead copy the directory. Recursive copying however is supported.
CopyFileMBS.kFlagsCloneForce = &h2000000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Clone the file instead. This is a force flag i.e. if cloning fails, an error is returned. This flag is equivalent to BitwiseOr(kFlagsExcl, kFlagsACL, kFlagsStat, kFlagsXAttr, kFlagsData, kFlagsNoFollowSource). Note that if cloning is successful, progress callbacks will not be invoked. Note also that there is no support for cloning directories: if a directory is provided as the source, an error will be returned.
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy the source file's data.
CopyFileMBS.kFlagsDataSparse = &h8000000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy a file sparsely. This requires that the source and destination file systems support sparse files with hole sizes at least as large as their block sizes.
If kFlagsData is also specified, this will fall back to a full copy if sparse copying cannot be performed for any reason; otherwise, an error is returned.
CopyFileMBS.kFlagsExcl = &h20000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Fail if the to file already exists.
CopyFileMBS.kFlagsMetaData = 7
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy the metadata; equivalent to BitwiseOr(kFlagsSecurity, kFlagsXAttr).
CopyFileMBS.kFlagsMove = &h100000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Unlink (using remove(3)) the from file.
No error is returned if remove(3) fails. Note that remove(3) removes a symbolic link itself, not the target of the link.
CopyFileMBS.kFlagsNoFollow = &hC00000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
This is a convenience macro, equivalent to BitwiseOr(kFlagsNoFollowDest, kFlagsNoFollowSource).
CopyFileMBS.kFlagsNoFollowDest = &h80000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Do not follow the to file, if it is a symbolic link.
CopyFileMBS.kFlagsNoFollowSource = &h40000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Do not follow the from file, if it is a symbolic link.
CopyFileMBS.kFlagsPack = &h400000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Serialize the from file. The to file is an Apple-Double-format file.
CopyFileMBS.kFlagsRecursive = &h8000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Causes copyfile to recursively copy a hierarchy.
CopyFileMBS.kFlagsRunInPlace = &h4000000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
If the src file has quarantine information, add the QTN_FLAG_DO_NOT_TRANSLOCATE flag to the quarantine information of the dst file. This allows a bundle to run in place instead of being translocated.
CopyFileMBS.kFlagsSecurity = 3
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy the source file's POSIX and ACL information; equivalent to BitwiseOr(kFlagsStat,kFlagsACL).
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy the source file's POSIX information (mode, modification time, etc.).
CopyFileMBS.kFlagsUnlink = &h200000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Unlink the to file before starting.
CopyFileMBS.kFlagsUnpack = &h800000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Unserialize the from file. The from file is an AppleDouble-format file; the to file will have the extended attributes, ACLs, resource fork, and FinderInfo data from the to file, regardless of the flags argument passed in.
CopyFileMBS.kFlagsVerbose = &h40000000
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Verbose messages.
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy the source file's extended attributes.
CopyFileMBS.kReturnContinue = 0
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
The copy will continue as expected.
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
The data copy will be aborted; in the case of kStageProgress, result will be set to ECANCELED (89).
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
The data copy will be aborted, but without error.
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Indicates an error has happened at some stage.
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
After copying has successfully finished.
CopyFileMBS.kStageProgress = 4
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Copy in progress.
Type | Topic | Plugin | Version |
const | Files | MBS MacOSX Plugin | 19.4 |
Before copying has begun.
The items on this page are in the following plugins: MBS MacOSX Plugin.