ZhaoLabs-SJTU GitHub avatar

baidu-netdisk-transfer

ZhaoLabs-SJTU

A toolset that enables direct bidirectional file transfer between Baidu Netdisk and Linux servers using bypy and aria2c, eliminating the need for a local computer as an intermediary.

Stars

22

7-day growth

No data

Forks

0

Open issues

0

License

MIT

Last updated

2026-07-17

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It achieves up to 40+ MB/s transfer speeds by leveraging server-side bandwidth, supports resume and MD5 verification, and operates entirely without root privileges or system modifications, making it ideal for large bioinformatics datasets.

Who it is for

  • Bioinformatics and data science researchers
  • Linux server administrators
  • Users who frequently transfer large files between Baidu Netdisk and remote servers
  • Teams needing a reproducible, documented workflow for training newcomers

Use cases

  • Directly download sequencing data (e.g., FASTQ) from Baidu Netdisk to a server without local storage
  • Upload result files (≤8 MiB) from a server to Baidu Netdisk
  • Run unattended parallel downloads with aria2c multi-threading and resume
  • Verify data integrity via built-in MD5 checksum after transfer

Strengths

  • Eliminates local temporary storage and double network hops (Netdisk → computer → server)
  • Achieves verified throughput of 39.6 MB/s on a 343 GB dataset without root or system dependencies
  • Supports resume, parallel downloads, and background execution via nohup
  • Provides comprehensive beginner-friendly documentation (Word, Excel, PPT) for team onboarding

Considerations

  • Upload is limited to files ≤8 MiB via the Baidu PCS API; larger files must use the web or client
  • Requires manual authorization via Baidu account and a one-time OAuth flow
  • Only tested on Linux x86_64; Windows/macOS users need a different approach
  • Relies on specific versions of bypy (1.8.9) and aria2c (1.35.0) which may need manual installation

README quick start

🔁 百度网盘 ↔ Linux 服务器双向大文件传输

一跳直传 · 无需本地中转 · 零系统依赖 · 断点续传 · MD5 完整性校验

基于 bypy v1.8.9 百度网盘 CLI + aria2c v1.35.0 多线程下载引擎


📑 目录


💡 一句话说明

在 Linux 服务器上直接用命令行操作百度网盘,数据不经过你的个人电脑,利用机房带宽(40 MB/s+)极速传输,从测序仪下机到服务器就绪,全程一键。


🧭 传统方式 vs 本方案

❌ 传统两跳

✅ 本 Skill(一跳)

┌──────────────┐ │ ☁️ 百度网盘 │ └──────┬───────┘ │ ① 下载到本地 │ 10~30 MB/s ▼ ┌──────────────┐ │ 💻 你的电脑 │ ← 占用本地磁盘 └──────┬───────┘ │ ② scp/rsync │ 宽带上传限速 ▼ ┌──────────────┐ │ 🖥️ Linux 服务器│ └──────────────┘

👤 人在场 · ⏱️ 两倍时间 · 💾 占用空间

┌──────────────┐ │ ☁️ 百度网盘 │ └──────┬───────┘ │ ① bypy 直传 │ 40+ MB/s │ 断点续传 │ 并行加速 ▼ ┌──────────────┐ │ 🖥️ Linux 服务器│ └──────────────┘

🤖 后台运行 · ⚡ 机房带宽 · 💾 零占用 · ✅ 自动校验

维度传统方式本 Skill
💰 传输跳数两跳(网盘→本机→服务器)一跳(网盘→服务器)
🚀 速度瓶颈家庭宽带 10-30 MB/s机房带宽 40+ MB/s
💾 本地磁盘需要同等大小临时空间零占用
🔐 sudo 权限不需要不需要
🔄 断点续传取决于客户端✅ aria2c 原生支持
🧵 并行下载手动操作✅ bypy 并行 + aria2c 多线程
🔍 MD5 校验需手动✅ 一行命令
🤖 无人值守不行✅ nohup 后台运行

📦 仓库结构

baidu-netdisk-transfer/
│
├── README.md                           ← ⭐ 你在这里
├── SKILL.md                            ← 📖 完整技术文档 (790+ 行)
├── LICENSE                             ← 📜 MIT License
├── .gitignore
│
└── 小白文档/                            ← 📚 零基础三件套
    ├── 百度网盘传输_小白操作手册.docx     # 📄 Word  · 5 章完整手册
    ├── 百度网盘传输_操作表格.xlsx         # 📊 Excel · 8 Sheet 速查
    └── 百度网盘传输_演示文稿.pptx         # 📽️ PPT   · 19 页培训演示

⚡ 三步上手

 ➡️ 

 ➡️ 

① 安装(仅一次,约 30 秒)

# ── bypy ──
pip install --user bypy==1.8.9

# ── aria2c 静态编译(无需 root)──
wget -q https://github.com/aria2/aria2/releases/download/release-1.35.0/aria2-1.35.0-linux-gnu-64bit-build1.tar.bz2
tar xjf aria2-*.tar.bz2
mkdir -p ~/.local/bin
cp aria2-*/aria2c ~/.local/bin/
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

💡 零系统影响:全部安装在 ~/.local/ 下,不修改系统文件,不影响服务器上其他软件。

② 授权(仅一次,约 1 分钟)

bypy info
``

Description

百度网盘 双向传输 Skill - 基于 bypy + aria2c 直传

Related repositories

Similar projects matched by category, topics, and programming language.

l0ng-ai
Featured
l0ng-ai GitHub avatar

tty7

tty7 is a fast, GPU-accelerated terminal workbench with persistent sessions, built-in input tools, SSH support, and coding agent awareness.

Developer ToolsCLI & Terminal
359
programmersd21
Featured
programmersd21 GitHub avatar

flow

flow is a minimalist terminal dashboard that displays real-time network throughput with smooth animations, multiple responsive modes, and zero configuration.

Developer ToolsCLI & Terminal
277
MoonshotAI
Featured
MoonshotAI GitHub avatar

Kimi-K3

Kimi K3 is an open-weight, 2.8T-parameter native multimodal agentic model with a 1M-token context window, designed for frontier coding, knowledge work, and reasoning tasks.

AI & Machine LearningAI Agents
3,348