当前位置:网站首页>使用百度网盘上传数据到服务器上
使用百度网盘上传数据到服务器上
2022-07-02 06:25:00 【wxplol】
一、安装环境
pip install requests && pip install bypy

二、登录百度网盘并授权
安装好之后,我们在终端中运行如下指令
bypy info

使用刚刚复制的链接打开网页后,点图中 复制授权码 复制好授权码之后,粘贴到刚才的终端窗口中,按回车确认。


这样我们就可以在百度网盘上看到我们创建的文件夹了

三、创建文件夹并上传或下载数据
我们可以创建一个专用的同步文件夹方便管理数据,在终端窗口中运行如下指令创建文件夹,并进入这个文件夹。
mkdir baiduwanpan
cd baiduwanpan/
- 下载数据
我们打开我的应用数据->bypy这样就可以把数据存在网盘的这个位置
然后执行:
bypy -v downdir
就可以将数据下载到baiduwanpan文件夹下了


- 上传数据
bypy -v upload
这里只是演示了在有界面的ubuntu18下操作,对于无界面的服务器上也同样适用。有时,我们会遇到直接上传文件过大,速度比较慢,采用这种方式,也是向服务器上传数据的一种方法。
参考连接:
边栏推荐
- [introduction to information retrieval] Chapter 3 fault tolerant retrieval
- Three principles of architecture design
- JSP智能小区物业管理系统
- ORACLE EBS 和 APEX 集成登录及原理分析
- Oracle 11g uses ords+pljson to implement JSON_ Table effect
- 《Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer》论文翻译
- 【MEDICAL】Attend to Medical Ontologies: Content Selection for Clinical Abstractive Summarization
- [tricks] whiteningbert: an easy unsupervised sentence embedding approach
- Oracle EBS DataGuard setup
- 【MEDICAL】Attend to Medical Ontologies: Content Selection for Clinical Abstractive Summarization
猜你喜欢

Only the background of famous universities and factories can programmers have a way out? Netizen: two, big factory background is OK

【Ranking】Pre-trained Language Model based Ranking in Baidu Search

【信息检索导论】第二章 词项词典与倒排记录表
![[medical] participants to medical ontologies: Content Selection for Clinical Abstract Summarization](/img/24/09ae6baee12edaea806962fc5b9a1e.png)
[medical] participants to medical ontologies: Content Selection for Clinical Abstract Summarization

ERNIE1.0 与 ERNIE2.0 论文解读

《Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer》论文翻译

Oracle EBS database monitoring -zabbix+zabbix-agent2+orabbix

架构设计三原则

腾讯机试题
![[introduction to information retrieval] Chapter II vocabulary dictionary and inverted record table](/img/3f/09f040baf11ccab82f0fc7cf1e1d20.png)
[introduction to information retrieval] Chapter II vocabulary dictionary and inverted record table
随机推荐
oracle-外币记账时总账余额表gl_balance变化(上)
ssm+mysql实现进销存系统
MySQL组合索引加不加ID
Implement interface Iterable & lt; T>
Oracle 11g sysaux table space full processing and the difference between move and shrink
Jordan decomposition example of matrix
如何高效开发一款微信小程序
常见的机器学习相关评价指标
[introduction to information retrieval] Chapter 3 fault tolerant retrieval
基于onnxruntime的YOLOv5单张图片检测实现
CRP implementation methodology
Proteus -- RS-232 dual computer communication
SSM second hand trading website
The first quickapp demo
Interpretation of ernie1.0 and ernie2.0 papers
Oracle段顾问、怎么处理行链接行迁移、降低高水位
Huawei machine test questions-20190417
Using compose to realize visible scrollbar
【Ranking】Pre-trained Language Model based Ranking in Baidu Search
【信息检索导论】第七章搜索系统中的评分计算