ossutilmac64

ossutil是以命令行方式管理OSS数据的工具,提供方便、简洁、丰富的存储空间(Bucket)和文件(Object)管理命令,支持Windows、Linux、 Mac平台。

通过ossutil,您可以进行如下操作:

管理Bucket,如:创建、列举或删除Bucket等。

管理Object,如:上传、下载、列举、拷贝和删除Object等。

管理碎片(part),如:列举和删除part等。

https://www.alibabacloud.com/help/zh/doc-detail/50452.htm

cli


$ ./ossutilmac64 -h
Usage of ossutilmac64: Options:
--loglevel= log level,default is empty(no log file output),optional value is:info|debug,info will output information logs,debug will output detail logs(including http request and response logs)
--trafic-limit= http request speed limit,the unit is:bit/s,default value is 0(unlimited),primarily used in sign command
--disable-ignore-error specifies that do not ignore errors during batch cp, default value is false
--proxy-host= url of network proxy server, which supports http/https/socks5, such as https://120.79.128.211:3128, socks5://120.79.128.211:1080
--enable-symlink-dir specifies uploading link subdirectories,default are not uploaded; The probe command can detect whether there is a dead cycle symlink file or directory.
--exclude= Exclude Pattern of key, e.g., *.txt
--upload specifies upload action to oss,primarily used in probe command
--probe-item= specifies probe command's probe item, the value can be upload-speed, download-speed, cycle-symlink
-d, --directory Return matching subdirectory names instead of contents of the subdirectory.
-b, --bucket the option used to make sure the operation will operate on bucket
--all-versions specifies the object's all versions
--acl= acl information.
--type= hash type, Default: crc64, value range is: crc64/md5
-a, --all-type Indicate that the subject of the command contains both objects and uncompleted Multipart Uploads.
-u, --update update
--partition-download= the option is used in partition download mode, one command to download one partition,the value format is "partition number:total count of partitions",such as 1:5, indicating that the command downloads partition 1,total partition count is 5; the partition number is numbered from 1, and the partitioning rules for objects are determined by ossutil; with this option, the objects to be downloaded are divided into multiple partitions, which can be downloaded by multiple ossutil commands,each ossutil command can download its own partition,multiple ossutil commands can be executed on different machines in parallel.
--backup-dir= The directory of the backup file used by the sync command
--output-dir= The option specify the directory to place output file in, output file contains: report file generated by cp command when error happens of batch copy operation(for more information about report file, see help of cp command). The default value of the option is: ossutil_output directory in current directory.
-L, --language= set the language of ossutil(default: EN), value range is: CH/EN, if you set it to "CH", please make sure your system language is UTF-8.
--object= specifies a name of object,primarily used in probe command
--disable-dir-object specifies that oss object is not generated for directory itself when uploading, primarily used in cp command
--include= Include Pattern of key, e.g., *.jpg
-i, --access-key-id= AccessKeyID while access oss(Notice that the value of the option will cover the value in config file).
--snapshot-path= This option is used to accelerate the incremental upload of batch files or download objects in certain scenarios. If you use the option when upload files or download objects, ossutil will generate files to record the snapshot information in the specified directory. When the next time you upload files or download objects with the option, ossutil will read the snapshot information under the specified directory for incremental upload or incremental download. The snapshot-path you specified must be a local file system directory can be written in, if the directory does not exist, ossutil creates the files for recording snapshot information, else ossutil will read snapshot information from the path for incremental upload(ossutil will only upload the files which haven't not been successfully uploaded to oss or been locally modified) or incremental download(ossutil will only download the objects which have not been successfully downloaded or have been modified), and update the snapshot information to the directory. Note: The option record the lastModifiedTime of local files which have been successfully uploaded in local file system or lastModifiedTime of objects which have been successfully downloaded, and compare the lastModifiedTime of local files or objects in the next cp to decided whether to skip the file or object. If you use the option to achieve incremental upload, please make sure no other user modified the corresponding object in oss during the two uploads. If you can not guarantee the scenarios, please use --update option to achieve incremental upload. In addition, ossutil does not automatically delete snapshot-path snapshot information, in order to avoid too much snapshot information, when the snapshot information is useless, please clean up your own snapshot-path on your own immediately.
--bucketname= specifies a name of bucket,primarily used in probe command
--upmode= specifies the upload mode,default value is normal,optional value is:normal|append|multipart, which means normal upload、append upload and multipart upload,it is primarily used in probe command.
--upload-id-marker= the marker of object when list object or Multipart Uploads.
--range= the range when download objects, the form is like: 3-9 or 3- or -9
--sse-algorithm= specifies the server side encryption algorithm,value is KMS or AES256.
--limited-num= the limited number of return results.
-j, --jobs= amount of concurrency tasks between multi-files(default: 3), value range is: 1-10000
--parallel= amount of concurrency tasks when work with a file, value range is: 1-10000, by default the value will be decided by ossutil intelligently.
--delete delete
--proxy-pwd= password of network proxy, default is empty
--checkpoint-dir= Path of checkpoint directory(default:.ossutil_checkpoint), the directory is used in resume upload or download, when operate failed, ossutil will create the directory automatically, and record the checkpoint information in the directory, when the operation is succeed, the directory will be removed, so when specify the option, please make sure the directory can be removed.
-v, --version Show ossutil version (v1.7.0) and exit.
-r, --recursive operate recursively, for those commands which support the option, when use them, if the option is specified, the command will operate on all match objects under the bucket, else we will search the specified object and operate on the single object.
--acr-method= specifies the value of the http header Access-Control-Request-Method,primarily used in cors-options command.
--version-id-marker= specifies the marker of object version id when list objects's all versions
--disable-all-symlink specifies that uploading of symlink files and symlink directories under the directory is not allowed, the default value is false.
--tagging= Set object tagging, value format is ["TagA=A&TagB=B...]"
--start-time= The start time is the timestamp in the Linux/Unix system, that is, the number of seconds that have passed since January 1, 1970 (midnight UTC/GMT)
--acr-headers= specifies the value of the http header Access-Control-Request-Headers, primarily used in cors-options command.
--encoding-type= the encoding type of object name or file name that user inputs or outputs, currently ossutil only supports url encode, which means the value range of the option is: url, if you do not specify the option, it means the object name or file name that user inputed or outputed was not encoded. bucket name does not support url encode. Note, if the option is specified, the cloud_url like: oss://bucket/object should be inputted as: oss://bucket/url_encode(object), the string: oss://bucket/ should not be url encoded.
-k, --access-key-secret= AccessKeySecret while access oss(Notice that the value of the option will cover the value in config file).
-t, --sts-token= STSToken while access oss(Notice that the value of the option will cover the value in config file), not necessary.
--marker= the marker of bucket when list buckets, or the marker of key when list object or Multipart Uploads, Or other places where a marker is needed
--url= specifies a url address,primarily used in probe command
--kms-masterkey-id= specifies the primary key id in the kms(key management service)
--kms-data-encryption= specifies the kms data service encryption algorithm,Currently only supports the value SM4 or emtpy
--meta= Set object meta as [header:value#header:value...], e.g., Cache-Control:no-cache#Content-Encoding:gzip
--redundancy-type= specifies bucket data redundancy type, the value can be LRS, ZRS. LRS is default value, specifies locally redundant storage; ZRS specifies higher availability of redundant storage
--bigfile-threshold= the threshold of file size, the file size larger than the threshold will use resume upload or download(default: 104857600), value range is: 0-9223372036854775807
-s, --short-format Show by short format, if the option is not specified, show long format by default.
--payer= The payer of the request. You can set this value to "requester" if you want pay for requester
--maxupspeed= max upload speed,the unit is:KB/s,default value is 0(unlimited)
--method= specifies the command's operation type. the values ​​are PUT, GET, DELETE, LIST, etc
--local-host= ossutil's ip ,such as 127.0.0.1
--only-current-dir specifies that only files or objects in the current directory are manipulated, and subdirectories are ignored.
--part-size= Part size, the unit is: Byte, in default situation, ossutil will calculate the suitable part size according to file size. The option is useful when user has special needs or user need to performance tuning, the value range is: 1-9223372036854775807(Byte)
-m, --multipart Indicate that the subject of the command are uncompleted Multipart Uploads, instead of objects(which is the subject in default situation.
--disable-crc64 Disable crc64, in default situation, ossutil open crc64 check when transmit data.
--proxy-user= username of network proxy, default is empty
--end-time= The end time is the timestamp in the Linux/Unix system, that is, the number of seconds that have passed since January 1, 1970 (midnight UTC/GMT)
--retry-times= retry times when fail(default: 10), value range is: 1-500
--timeout= time out of signurl, the unit is: s, default value is 60, the value range is: 0-9223372036854775807
--download specifies download action from oss,primarily used in probe command
--origin= specifies the value of origin field in http header
--storage-class= set the storage class of bucket(default: Standard), value range is: Standard/IA/Archive/ColdArchive.
-e, --endpoint= Base endpoint for oss endpoint(Notice that the value of the option will cover the value in config file). Take notice that it should be second-level domain(SLD).
-c, --config-file= Path of ossutil configuration file, where to dump config in config command, or to load config in other commands that need credentials.
-f, --force operate silently without asking user to confirm the operation.
--addr= specifies a network address,usually a domain,primarily used in probe command
--disable-empty-referer specifies that the referer field is not allowed to be empty,primarily used in referer command
--version-id= specifies the object's version id
--disable-encode-slash specifies no encoding of '/' in url path section, primarily used in sign command
-h, --help Show usage message
--version Show version

refs



xgqfrms 2012-2020

www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!


ossutilmac64的更多相关文章

  1. OSS命令行工具ossutil

    ossutil工具旨在为您提供一个以命令行方式管理OSS数据的途径.当前版本未提供完整的Bucket和Multipart管理功能,相关功能会在后续版本中开发.如果您需要使用上述功能,建议先使用ossc ...

随机推荐

  1. vue原生文件上传,可以多文件上传

    1.单文件上传 <template> <div> <label for="fileInput"> <i aria-hidden=" ...

  2. a.default.ERROR.httpAjax is not a function

    原因1: 使用的是jQuery的slim构建,它删除了一些东西,ajax就是其中之一. 解决方法: 在此处下载常规(压缩或非压缩)版本的jQuery并将其包含在您的项目中. 原因2: 使用其他库引起了 ...

  3. Fixing SQL Injection: ORM is not enough

    Fixing SQL Injection: ORM is not enough | Snyk https://snyk.io/blog/sql-injection-orm-vulnerabilitie ...

  4. Qedis实现

    对比redis的Qedis 实现在github 和 实验楼都有资料

  5. 为什么Redis集群要使用反向代理?

    为什么要使用反向代理? 如果没有方向代理,一台Redis可能需要跟很多个客户端连接: 看着是不是很慌?看没关系,主要是连接需要消耗线程资源,没有代理的话,Redis要将很大一部分的资源用在与客户端建立 ...

  6. 前端开发规范之命名规范、html规范、css规范、js规范

    在学习编程的时候,每次看到那些整齐规范的代码,心里顿时对这个程序员表示点点好感,有时,比如看到自己和朋友写的代码时,那阅读起来就是苦不堪言,所以,一些基本的开发规范是必须的,是为了自己方便阅读代码,也 ...

  7. mysql在8.0版本下修改密码的命令

    ubuntu20.04上边部署了一个新的mysql服务,默认没密码,想要修改密码. 使用如下手段 第一种:ALTER USER 'root'@'localhost' IDENTIFIED BY '密码 ...

  8. zabbix监控设备结果异常问题

    1.现象描述 paloalto防火墙升级后发现zabbix监控其CPU.风扇等硬件信息和端口流量数据错误. 2.现象分析 由于zabbix并没有做过任何调整,防火墙也只是升级.根据现象并不好排查.但是 ...

  9. (24)bzip2命令:压缩文件(.bz2格式)&&bunzip2命令:bz2格式的解压缩命令

    1.bzip2 命令同 gzip 命令类似,只能对文件进行压缩(或解压缩),对于目录只能压缩(或解压缩)该目录及子目录下的所有文件.当执行压缩任务完成后,会生成一个以".bz2"为 ...

  10. Java 复习整理day10

    package com.it.demo01_quickstart; /* 案例: 讲解网络编程相关概念. 网络编程简介: 概述: 网络编程也叫: 套接字编程, Socket编程, 就是用来实现 网络互 ...