| | |
| | The path for a file to be imported or exported. tip If you need to import or export a list of files, add multiple file_url values to the command and separate them with commas (,). |
| | The path for the folder you want to import or export. This parameter must be used in conjunction with the -r parameter. |
| | |
| | |
| | The prefix used for filtering objects in batch operations. |
| | Perform batch import, export, or copy operations. |
| | Run in test mode without executing any actual import, export, or copy operations. |
| | Export the actual target path pointed to by symlinks for both files and directories, rather than exporting the symlink files themselves. |
| | Sets the mode for exporting multiple files or folders at once. The options are as follows: - -msm=1: The export path is a list of files or folders separated by commas (,).
- -msm=2: The export path is a manifest file containing a list of files or folders.
warning - Do not use the -msm=1 mode if a file or folder name contains a comma.
- Unless the -r parameter is set, folders in the list will not be exported.
|
| | The folder where temporary files generated during multipart imports are stored. The default location is specified in the configuration file as defaultTempFileDir. tip - If the -tempFileDir parameter is left blank, the temporary files will be stored in the same directory as the objects to be imported, with names ending in .tos.temp.
- Since these temporary files will be saved in this directory, ensure that the user running tosutil has write permissions to this path. The available space in this directory must exceed the size of the objects to be imported.
|
| | The ID of a file import, export, or copy task to be resumed in the result file. |
| | This parameter is used for incremental imports, exports, or copies of files. It compares the source and destination. We recommend using this setting in the following cases: - The destination does not exist.
- The file size at the destination differs from that at the source.
- The last modified time at the destination is earlier than that at the source.
|
| | Validate data integrity during import, export, or copy operations using the CRC-64 algorithm. |
| | Do not include the relative parent directory when importing, exporting, or copying files. |
| | The maximum concurrency for batch tasks. This value is set to 3 by default, which is the defaultJobs value in the configuration file. |
| | The maximum concurrency for each multipart task. This value is set to 1 by default, which is the defaultParallels value in the configuration file. |
| | The limit, in bytes, for a multipart task. This value is set to the defaultBigfileThreshold value in the configuration file by default. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB — just write "1 MB" and the program will recognize it. |
| | The maximum concurrency for batch processing of regular files or objects (non-multipart tasks). Setting this parameter divides the concurrency specified by the -j parameter into two parts: one for non-multipart tasks (nfj) and one for multipart tasks (j-nfj). This parameter only takes effect during batch operations. |
| | The size, in bytes, of each part during a multipart task. This value is set to the defaultPartSize value in the configuration file by default. tip This parameter supports configuration with capacity units. For example, there is no need to manually calculate how many bytes are in 1 MB — just write "1 MB" and the program will recognize it. |
| | The folder where checkpoint files are stored. The default location is specified in the configuration file as defaultCheckpointDir. |
| | The version ID of an object to be imported or copied. |
| | Sets the predefined access control lists (ACLs) for files to be exported or copied. Possible values: - bucket-owner-full-control
|
| | Sets the storage type of files to be exported. The options are as follows: - STANDARD: Standard Storage, which is the default value.
- IA: Infrequent Access Storage.
- ARCHIVE_FR: Flashback Archive.
- COLD_ARCHIVE: Cold Archive.
- DEEP_COLD_ARCHIVE: Deep Cold Archive.
tip - Cold Archive is generally available in China (Beijing) and China (Shanghai) and is in closed beta in China (Guangzhou). If you would like to use Cold Archive in China (Guangzhou), please contact your account manager for access.
- Deep Cold Archive is currently in closed beta in China (Beijing), China (Shanghai), and China (Guangzhou). Please contact your account manager for access.
|
| | Sets the user-defined metadata of files to be exported or copied. |
| | Sets the server-side encryption algorithm used when exporting or copying files. Possible values: This value is set to the defaultSse value in the configuration file by default. |
| | The key used when exporting or copying files with server-side encryption with Key Management Service (KMS). This value is set to the defaultSseKeyId value in the configuration file by default. |
| | Sets the Content-Type metadata for files during export or copy operations. |
| | Sets the Content-Disposition metadata for files during export or copy operations. |
| | Sets the Content-Encoding metadata for files during export or copy operations. |
| | Sets the Content-Language metadata for files during export or copy operations. |
| | Sets the Cache-Control metadata for files during export or copy operations. |
| | Sets the Expires metadata for files during export or copy operations, in the format of YYYYMMDDHHmmSS. |
| | The file matching pattern used to include files for import, export, or copying. The following characters have special behavior: - ?: Matches any single character within a filename.
- *: Matches zero or more characters within a filename.
- #: Serves as a delimiter.
For example, -include=*.png#*.txt matches all files ending in .png and .txt. tip - To avoid parsing failures caused by the operating system escaping special characters, enclose the file matching pattern in quotes.
- This pattern only takes effect when exporting folders or a list of files.
- This pattern applies to the full file path, including the filename and directory structure.
|
| | The file matching pattern used to exclude files from import, export, or copy operations. The following characters have special behavior: - ?: Matches any single character within a filename.
- *: Matches zero or more characters within a filename.
- #: Serves as a delimiter.
For example, -exclude=*.png#*.txt matches all files ending in .png and .txt. tip - To avoid parsing failures caused by the operating system escaping special characters, enclose the file matching pattern in quotes.
- This pattern only takes effect when exporting folders or a list of files.
- This pattern applies to the full file path, including the filename and directory structure.
|
| | Sets the time range for the last modified time of files during import, export, or copy, in the format of YYYYMMDDHHmmSS-YYYYMMDDHHmmSS. |
| | Export a list of files whose last access time falls within the -timeRange. |
| | Do not export the folder itself as an object. |
| | Do not apply the parameters, -include/-exclude and -timeRange, to folders. |
| | Sets the starting position for batch importing. |
| | The archive folder for successfully exported files. |
| | Generate a result file when working with a single file. |
| | The folder where result files are stored. The default location is specified in the configuration file as defaultOutputDir. |
| | The type of the bucket. The options are as follows: - fns: A flat namespace (FNS) bucket.
- hns: A hierarchical namespace (HNS) bucket.
If the bucket type is not specified, the default will be the type obtained from the bucket metadata. |