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.4.tar.gz
(27.9 kB
view hashes)
Built Distribution
xcoscmd-1.8.6.4-py3-none-any.whl
(30.2 kB
view hashes)
Close
Hashes for xcoscmd-1.8.6.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3acbb076022d7fd31bd91a932395018fa864481ab8d9a2e089c7549249d787e6 |
|
MD5 | 0abacccc35bfd0851083938b24b409b6 |
|
BLAKE2b-256 | a10a2f27e4c0e50fdc7579935eece133e83661a5af9850af25e062ddd3d13fed |