Skip to content

aoaostar/alidrive-uploader-for-baota

Repository files navigation

说明

本项目为阿里云盘上传工具的宝塔插件
可以将服务器内的文件快速上传到阿里云盘

演示图

安装

Centos7

yum install -y wget && wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh install

Debian

wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh install

更新

wget -O install.sh https://raw.githubusercontent.com/aoaostar/alidrive-uploader-for-baota/v2/install.sh && bash install.sh update

配置账号信息

  • 控制台快速获取代码
var d = JSON.parse(localStorage.getItem('token'));
console.log(`  drive_id: ${d.default_drive_id}\n  refresh_token: ${d.refresh_token}`);