{"id":13524208,"url":"https://github.com/aliyun/ossutil","last_synced_at":"2025-04-01T02:30:55.054Z","repository":{"id":37663909,"uuid":"63031215","full_name":"aliyun/ossutil","owner":"aliyun","description":"A user friendly command line tool to access AliCloud OSS.","archived":false,"fork":false,"pushed_at":"2024-08-01T05:54:43.000Z","size":1927,"stargazers_count":442,"open_issues_count":63,"forks_count":99,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-02T06:16:23.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aliyun.png","metadata":{"files":{"readme":"README-CN.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-07-11T02:44:11.000Z","updated_at":"2024-08-01T08:28:56.000Z","dependencies_parsed_at":"2024-01-19T03:35:51.351Z","dependency_job_id":null,"html_url":"https://github.com/aliyun/ossutil","commit_stats":null,"previous_names":[],"tags_count":54,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun%2Fossutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun%2Fossutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun%2Fossutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliyun%2Fossutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliyun","download_url":"https://codeload.github.com/aliyun/ossutil/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222693039,"owners_count":17024034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T06:01:08.021Z","updated_at":"2024-11-02T08:31:32.294Z","avatar_url":"https://github.com/aliyun.png","language":"Go","funding_links":[],"categories":["Command Line","命令行工具"],"sub_categories":["Dependency Management"],"readme":"# Aliyun OSSUTIL\n\n[![GitHub version](https://badge.fury.io/gh/aliyun%2Fossutil.svg)](https://badge.fury.io/gh/aliyun%2Fossutil)\n[![Build Status](https://travis-ci.org/aliyun/ossutil.svg?branch=master)](https://travis-ci.org/aliyun/ossutil)\n[![Coverage Status](https://coveralls.io/repos/github/aliyun/ossutil/badge.svg?branch=master)](https://coveralls.io/github/aliyun/ossutil?branch=master)\n\n### [README of English](https://github.com/aliyun/ossutil/blob/master/README.md)\n\n## 关于\n\n- 此工具采用go语言，基于OSS[阿里云对象存储服务](http://www.aliyun.com/product/oss/)官方GO SDK 构建。\n- 阿里云对象存储（Object Storage Service，简称OSS），是阿里云对外提供的海量，安全，低成本，高可靠的云存储服务。\n- OSS适合存放任意文件类型，适合各种网站、开发企业及开发者使用。\n- 该工具旨在为用户提供一个方便的，以命令行方式管理OSS数据的途径。\n- 当前版本提供了列举和删除Multipart Uploads功能。\n- 当前版本未提供Bucket管理功能功能，相关功能会在后续版本中开发。\n\n## 版本\n\n- 当前版本：v1.7.19\n\n## 运行环境\n\n- Linux\n- Windows\n- Mac\n\n## 依赖的库\n\n- goopt (github.com/droundy/goopt)\n- configparser (github.com/alyu/configparser)\n- leveldb (github.com/syndtr/goleveldb/leveldb)\n- oss (github.com/aliyun/aliyun-oss-go-sdk/oss)\n- gopkg.in/check.v1 (gopkg.in/check.v1)\n\n## 快速使用\n\n#### 获取命令列表\n\n```go\n    ./ossutil\n    或 ./ossutil help\n```\n\n#### 查看某命令的帮助文档\n\n```go\n    ./ossutil help cmd \n```\n\n#### 配置ossutil\n\n```go\n    ./ossutil config\n```\n\n#### 列举Buckets\n\n```go\n    ./ossutil ls\n    或 ./ossutil ls oss://\n```\n\n#### 列举objects和Multipart Uploads\n\n```go\n    ./ossutil ls -a\n    或 ./ossutil ls oss:// -a\n```\n\n#### 上传文件\n\n```go\n    ./ossutil cp localfile oss://bucket\n```\n\n#### 其它\n\n请使用./ossutil help cmd来查看想要使用的命令的帮助文档。\n\n## 注意事项\n\n### 运行\n\n- 首先配置您的go工程目录。\n- go get该工程依赖的库。\n- go get github.com/aliyun/ossutil。\n- 进入go工程目录下的src目录，build代码生成ossutil工具，例如：在linux下可以运行go build github.com/aliyun/ossutil/ossutil.go。\n- 参考上面示例运行ossutil工具。\n\n### 测试\n\n- 进入go工程目录下的src目录，修改github.com/aliyun/ossutil/lib/command_test.go里的endpoint、AccessKeyId、AccessKeySecret、STSToken等配置。\n- 请在lib目录下执行`go test`。\n\n## 联系我们\n\n- [阿里云OSS官方网站](http://oss.aliyun.com)\n- [阿里云OSS官方论坛](http://bbs.aliyun.com)\n- [阿里云OSS官方文档中心](http://www.aliyun.com/product/oss#Docs)\n\n## 作者\n\n- [Ting Zhang](https://github.com/dengwu12)\n\n## License\n\n- [MIT](https://github.com/aliyun/ossutil/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyun%2Fossutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliyun%2Fossutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliyun%2Fossutil/lists"}