github tencentyun/coscli v1.0.2

23 hours ago

更新内容:

  1. cp及sync命令增加--disable-checksum 选项,默认为false,校验整个文件的crc64,为true时仅校验分片crc64
  2. 兼容ofs融合桶api(ls cp sync rm等命令)
  3. 新增创建/获取symlink命令,可针对特定object创建软链,并通过软链快速获取key值
  4. 新增cat命令,可查看object内容,建议1MB以内小文件使用
  5. 新增lsdu命令,可列出当前目录所有文件及文件夹内容,并统计每个文件夹的文件数及总大小
  6. 新增--log-path全局选项,自定义coscli.log文件位置。可指定文件夹或具体文件(文件需以.log结尾)如:/data/ 或 /data/cosli.log
  7. 错误返回优化

Update contents:

  1. Add the --disable-checksum option to the cp and sync commands. By default, it is set to false, which means the entire file's crc64 is verified. If set to true, only the fragment's crc64 is verified.
  2. Compatible with OFS fusion bucket API (commands like ls, cp, sync, rm, etc.).
  3. Add new commands to create/get symlink. You can create a symlink for a specific object and quickly obtain the key value through the symlink.
  4. Add a new cat command to view object content. It is recommended to use it for small files under 1MB.
  5. Add a new lsdu command to list all files and folders in the current directory, and count the number of files and the total size of each folder.
  6. Add a global --log-path option to customize the location of the coscli.log file. You can specify a directory or a specific file (the file must end with .log), e.g., /data/ or /data/coscli.log.
  7. Optimize error returns.

Don't miss a new coscli release

NewReleases is sending notifications on new releases.