baidupcs-go命令

登陆:

方式1:login
方式2:login -bduss=xxx, #从cookie中找

配置修改:

config  #eg:config -h
config set  #eg:config set -h,根据提示操作
设置下载目录: config set -savedir C:/User/Jabin/Downloads/baidu -max_parallel 400 cache_size 81960 #注意斜杠为/

目录及文件操作:

cd
ls
download/d
upload/u
mkdir
rm
cp
mv
meta #查看文件或目录的元信息

其他:

quota #网盘配额
pwd #当前目录
tree
locate #获取直链
export/ep #导出目录
share
share list
share cancel xx
offlinedl/clouddl/od #添加离线下载,eg: offlinedl add -path=xx 资源address
env #显示程序环境配置,用于保存用户操作记录配置,如记录登陆信息等
tool #工具箱

退出:

quit/exit/ctrl+c/ctrl+d

 更换appid:

BaiduPCS-Go config set -appid=266719
原文地址:https://www.cnblogs.com/maoriaty/p/9055132.html