Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ILTShade/tsinghua_cloud_upload
https://github.com/ILTShade/tsinghua_cloud_upload
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ILTShade/tsinghua_cloud_upload
- Owner: ILTShade
- Created: 2020-03-13T12:39:32.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-23T14:15:45.000Z (over 2 years ago)
- Last Synced: 2024-08-01T20:48:12.442Z (4 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - ILTShade/tsinghua_cloud_upload - (Python)
README
# TsinghuaCloudUpload
a script for upload file to tsinghua cloud.
## Install
```shell
cd workspace_folder/
pip install -e .
```## Usereg
First, you can use "set" mode to set the repo upload link to a user-defined name, like
```shell
thc_upload --mode set --repo_name somename_you_like --operate_name THE_TSINGHUA_REPO_UPLOAD_LINK
```
And then, you can use "somename_you_like" to upload file in server, like
```shell
thc_upload --mode upload --repo_name somename_you_like --operate_name THE_FILE_NAME
```
PLEASE check in the upload command, the link of the specificed repo_name, you must have already set```text
Usage: thc_upload [OPTIONS]set url or upload file for repo name
Options:
--mode [set|upload] "set" for set upload url for repo name, "upload" for upload [required]
--repo_name TEXT the repo name in that you want to upload file [required]
--operate_name TEXT the operate name that you want to set (url) or upload (file) [required]
--help Show this message and exit.
```