The Chunker Tool is a utility which was created in order to provide a simple way to copy files from a local file system to DuraCloud in a "one-off" manner. Actually, although the common case is to use this tool to copy one or more files to DuraCloud, it may also be run to copy files to another location on the local file system.
The Sync Tool is a better choice for transferring files to DuraCloud. The Chunker Tool can be built from DuraCloud source, but is no longer provided as a binary distribution. |
If you want to jump directly into using the tool, download it from the link above and run the following command
java -jar chunk-{version}-driver.jar |
The resulting usage statement (detailed below) should be enough to help you get started.
The system requirements for operating the SyncTool are described here.
The following options are available when running the Chunker Tool
Short Option | Long Option | Arguments | Description |
---|---|---|---|
-a | --add | <f t s> | add content from directory:<f> to space or directory:<t> of maximum chunk size:<s>, where the chunk size must have a unit suffix of K,M, or G |
-c | --cloud-store | <host:port> | use cloud store found at <host>:<port> as content destination |
-d | --dir-filter | <l> | limit processed directories to those listed in file-list:<l> |
-f | --file-filter | <l> | limit processed files to those listed in file-list:<l> |
-g | --generate | <outFile numBytes> | generate test data to <outFile> of <size> bytes |
-i | --ignore-large-files | no args | if this option is set, files over the chunk size specified in the 'add' option will be ignored. |
-p | --password | <password> | password of duracloud instance |
-u | --username | <username> | username of duracloud instance |
-x | --exclude-chunk-md5s | no args | if this option is set, chunk MD5s will NOT be preserved in the manifest |
If you are interested in creating chunked files in DuraCloud using your own tools, you may do so by adhering to the XML schema used by DuraCloud to create chunks.
Download the Chunker XSD from the Downloads page