baidupcscmd

package
v3.2.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPCSInfo

func GetPCSInfo() *baidupcs.PCSApi

func ReloadIfInConsole

func ReloadIfInConsole()

ReloadIfInConsole 程序在 Console 模式下才回重载配置

func ReloadInfo

func ReloadInfo()

ReloadInfo 重载配置

func RunChangeDirectory

func RunChangeDirectory(path string)

RunChangeDirectory 执行更改工作目录

func RunCopy

func RunCopy(paths ...string)

RunCopy 执行 批量拷贝文件/目录

func RunDownload

func RunDownload(paths ...string)

RunDownload 执行下载网盘内文件

func RunGetMeta

func RunGetMeta(path string)

RunGetMeta 执行 获取单个文件/目录的元信息

func RunGetQuota

func RunGetQuota()

RunGetQuota 执行 获取当前用户空间配额信息, 并输出

func RunLogin

func RunLogin() (bduss, ptoken, stoken string, err error)

RunLogin 登录百度帐号

func RunLs

func RunLs(path string)

RunLs 执行列目录

func RunMkdir

func RunMkdir(path string)

RunMkdir 执行 创建目录

func RunMove

func RunMove(paths ...string)

RunMove 执行 批量 重命名/移动 文件/目录

func RunRemove

func RunRemove(paths ...string)

RunRemove 执行 批量删除文件/目录

func RunUpload

func RunUpload(localPaths []string, targetPath string)

RunUpload 执行文件上传

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL