Torch Object Storage
Parameter | Type | Description |
Parameter | Type | Description |
file_url1 folder_url1 | String | The source path for copying the local file/folder. When specifying a source folder, use it with the -r parameter. |
file_url2 folder_url2 | String | The destination path for copying the local file/folder. |
-r | Bool | Copy the folder recursively. |
-dryRun | Bool | Run in test mode without executing any actual operations. |
-link | Bool | Copy the actual target path pointed to by symbolic links for both files and folders, rather than copying the symbolic link files themselves. |
-tempFileDir | String | The folder used to store temporary files during copy operations. It is created under the same parent folder as the files being copied. |
-useTempFile | Bool | Create a copy by first writing a temporary file and then renaming it to the final file. |
-recover | String | The ID of the copy task to be resumed in the result file. |
-u | Bool | This parameter is used for incremental copies of files. It compares the source and destination. We recommend using this setting in the following cases:
|
-vchecksum | Bool | Validate data integrity during copy operations using the CRC-64 algorithm. |
-dfo | Bool | When copying on Linux or macOS, do not force overwriting the local executable if it is running. |
-fsync | Bool | Use fsync to flush data to the disk during the copy process. |
-rbs | String | The read buffer size for the source, in bytes. This value is set to the readBufferIoSize value in the configuration file by default. |
-wbs | String | The write buffer size for the destination, in bytes. This value is set to the writeBufferIoSize value in the configuration file by default. |
-rdio | Bool | Use direct io when reading from the source on Linux/MacOS. |
-rmmp | Bool | Use memory mapping (mmap) when reading from the source on Linux/MacOs. |
-wdio | Bool | Use direct io when writing to the destination on Linux/macOS. |
-wmmp | Bool | Use memory mapping (mmap) when writing to the destination on Linux/MacOS. Setting this parameter will override the useTempFile parameter. |
-ea | String | The algorithm used to encrypt and decrypt local files during copying. Possible values:
tip The AES-256-CTR encryption is used by default. |
-eam | String | The algorithm mode used to encrypt and decrypt local files during copying. Possible values:
The default is CTR. |
-sdk | String | The decryption key used for the source during copying. When the decryption algorithm is AES-256, the key must be 32 characters in length. |
-dek | String | The encryption key used for the destination during copying. When the encryption algorithm is AES-256, the key must be 32 characters in length. |
-flat | Bool | Do not include the relative parent directory when copying files. |
-j | Integer | The maximum concurrency for batch operations. This value is set to 3 by default, which is the defaultJobs value in the configuration file. |
-nfj | Integer | The maximum concurrency for batch processing small files (less than 1 MB). |
-include | String | The file matching pattern used to include files during copy operations. You can use the wildcards ? and * and the delimiter "#" in the match expression. |
-exclude | String | The file matching pattern used to exclude files from copy operations. You can use the wildcards ? and * and the delimiter "#" in the match expression. |
-timeRange | String | Sets the time range for the last modified time of files during copy operations, in the format of YYYYMMDDHHmmSS-YYYYMMDDHHmmSS. |
-at | Bool | Copy a list of files whose last access time falls within the "-timeRange". |
-ddo | Bool | Do not upload the folder itself as an object. |
-dmf | Bool | Do not apply the parameters, "-include/-exclude" and "-timeRange", to folders. |
-dt | String | Test read or write performance. Possible values:
|
-ds | String | The file size for single-stream read or write performance testing, in bytes. The default value is 10 MB. |
-fr | Bool | Generate a result file when working with a single file. |
-o | String | The folder where result files are stored. The default location is specified in the configuration file as defaultOutputDir. |
-nftr | Bool | Do not use the Truncate parameter to specify file size when creating a new file. |