A tool to copy file(s) in parallel on a distributed system.
dcp [cCdfhpRrUv] [--] source_file target_file dcp [cCdfhpRrUv] [--] source_file ... target_directory
dcp is a file copy tool in the spirit of cp(1) that evenly distributes work across a large cluster without any centralized state. It is designed for copying files which are located on a distributed parallel file system. The method used in the file copy process is a self-stabilization algorithm which enables per-node autonomous processing and a token passing scheme to detect termination.
When copying a source directory to a destination directory, copy the source directory over the destination directory. The default behavior is to copy the source directory inside the destination directory.
Skip the compare operation to confirm file integrity. When using this option, a file integrity check, such as md5sum, should be performed after the file(s) have been copied.
-d , --debug=level
Specify the level of debug information to output. Level may be one of: fatal, err, warn, info, or dbg. Increasingly verbose debug levels include the output of less verbose debug levels.
Remove existing destination files if creation or truncation fails. If the destination filesystem is specified to be unreliable (-U, --unreliable-filesystem), this option may lower performance since each failure will cause the entire file to be invalidated and copied again.
Print a brief message listing the dcp(1) options and usage.
Preserve the original files' owner, group, permissions (including the setuid and setgid bits), time of last modification and time of last access. In case duplication of owner or group fails, the setuid and setgid bits are cleared.
Copy directories recursively, and do the right thing when objects other than ordinary files or directories are encountered.
Copy directories recursively, and ignore objects other than ordinary files or directories.
If the filesystem is very unreliable, this option may be used to always retry an operation when a failure occurs. If failures are permanent, this option will cause an infinite loop. Specifying this option when force is enabled (-f, --force) may lower performance.
Print version information and exit.
When the force option is specified and truncation fails, the copy and truncation will be stuck in an infinite loop until the truncation operation returns with success.
The maximum supported filename length for any file transfered is approximately 4068 characters. This may be less than the number of characters that your operating system supports.
rpmbuild -ta dcp-<version>.tar.gz
rpm --install <the appropriate RPM files>
Please view the HACKING.md file for more information on how to contribute to dcp.
See the included COPYING file for additional information.