当前位置:网站首页>使用百度网盘上传数据到服务器上
使用百度网盘上传数据到服务器上
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下操作,对于无界面的服务器上也同样适用。有时,我们会遇到直接上传文件过大,速度比较慢,采用这种方式,也是向服务器上传数据的一种方法。
参考连接:
边栏推荐
- 离线数仓和bi开发的实践和思考
- 常见CNN网络创新点
- Analysis of MapReduce and yarn principles
- 【Torch】最简洁logging使用指南
- allennlp 中的TypeError: Object of type Tensor is not JSON serializable错误
- The first quickapp demo
- A slide with two tables will help you quickly understand the target detection
- Data warehouse model fact table model design
- Two table Association of pyspark in idea2020 (field names are the same)
- 常见的机器学习相关评价指标
猜你喜欢
常见的机器学习相关评价指标
[introduction to information retrieval] Chapter 1 Boolean retrieval
Drawing mechanism of view (I)
《Handwritten Mathematical Expression Recognition with Bidirectionally Trained Transformer》论文翻译
【信息检索导论】第六章 词项权重及向量空间模型
A slide with two tables will help you quickly understand the target detection
传统目标检测笔记1__ Viola Jones
Using MATLAB to realize: Jacobi, Gauss Seidel iteration
Sparksql data skew
Implementation of purchase, sales and inventory system with ssm+mysql
随机推荐
【Ranking】Pre-trained Language Model based Ranking in Baidu Search
一个中年程序员学习中国近代史的小结
【论文介绍】R-Drop: Regularized Dropout for Neural Networks
Oracle 11g sysaux table space full processing and the difference between move and shrink
Error in running test pyspark in idea2020
Only the background of famous universities and factories can programmers have a way out? Netizen: two, big factory background is OK
sparksql数据倾斜那些事儿
Find in laravel8_ in_ Usage of set and upsert
Pratique et réflexion sur l'entrepôt de données hors ligne et le développement Bi
使用Matlab实现:弦截法、二分法、CG法,求零点、解方程
Determine whether the version number is continuous in PHP
Explanation of suffix of Oracle EBS standard table
Message queue fnd in Oracle EBS_ msg_ pub、fnd_ Application of message in pl/sql
Feeling after reading "agile and tidy way: return to origin"
【BERT,GPT+KG调研】Pretrain model融合knowledge的论文集锦
@Transitional step pit
Point cloud data understanding (step 3 of pointnet Implementation)
Jordan decomposition example of matrix
实现接口 Interface Iterable<T>
Oracle segment advisor, how to deal with row link row migration, reduce high water level