simple command for cos, forked from https://github.com/tencentyun/coscmd
Project description
介绍
腾讯云COS命令行工具, 目前可以支持Python2.6与Python2.7以及Python3.x。
安装指南
python setup.py install cd dist sudo easy_install coscmd-1.8.6.3-py3.6.egg # 提前安装easy_install ln -s {{PYTHON_DIR}}/bin/coscmd xcoscmd # [可选]为避免和官方coscmd冲突,通过软链使用此版本
改造
上传命令,支持上传同名文件不覆盖,直接跳过
命令:
xcoscmd -rm ./app /app
上传结果输出优化:上传失败的log红色显示,上传成功的log绿色显示,更加直观的显示上传结果
使用方法
使用coscmd,参照 https://cloud.tencent.com/document/product/436/10976
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xcoscmd-1.8.6.3.tar.gz
(27.7 kB
view hashes)
Built Distribution
xcoscmd-1.8.6.3-py3-none-any.whl
(30.2 kB
view hashes)
Close
Hashes for xcoscmd-1.8.6.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15adcd3d7f1b4db921c5b7b097d08379de2bfe6a923f81e8a1c38c8aac736c8b |
|
MD5 | 364e3d7e6d3c1193b3db04f4669cda14 |
|
BLAKE2b-256 | f6eece66b625abbf5163bd1fb0176a7551ab1126380de72a7cf803f34fedb3bf |