WEB-DL

UDS:基于Google Drive API创建无限容量Google Drive,相关安装、使用教程

一、UDS介绍

UDS:即 Unlimited Drive Storage(无限的 Google Drive 存储)的简称,该程序将二进制文件分割后使用 base64 编码文本并存储到 Google Docs 中,从而避免让 Google Drive 统计存储空间。

源码https://github.com/stewartmcgown/uds

Windows下安装Python3:https://www.cnblogs.com/weven/p/7252917.html

二、UDS安装教程 以下均在centos7下操作。

1、获取Google Drive API

打开:https://developers.google.com/drive/api/v3/quickstart/python,如下图操作

2、下载uds源码,解压后,把上一步下载到的credentials.json 重命名为 client_secret.json,放到uds目录

a、

yum groupinstall 'Development Tools'
yum install zlib-devel bzip2-devel openssl-devel ncurese-devel
yum install python-setuptools
easy_install pip

b、

wget https://github.com/stewartmcgown/uds/archive/master.zip
unzip master.zip
mv uds-master uds
cd uds

c、

pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib
pip install --upgrade oauth2client
pip install --upgrade tabulate
pip install --upgrade request

d、

python uds.py

三、UDS使用教程

1、上传文件
python uds.py push 文件

2、列出文件
python uds.py list

3、下载文件
python uds.py pull 文件

4、删除文件
python uds.py delete 文件

更多命令查看:https://github.com/stewartmcgown/uds

码字很辛苦,转载请注明来自非WEB-DL资源站《UDS:基于Google Drive API创建无限容量Google Drive,相关安装、使用教程》

评论