Skip to content

ILTShade/tsinghua_cloud_upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TsinghuaCloudUpload

a script for upload file to tsinghua cloud.

Install

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

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

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

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published