All apps/BaiduPCS-Go

BaiduPCS-Go

baidupcs-go

A command-line client for Baidu Netdisk.

Runs as BaiduPCS-Go|macOS, Linux, Windows|github.com

Command form

ai-draft · 3 tasks · 11 fields

Download from and upload to Baidu Netdisk. Run login inside the program first. Listing, sharing and config commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui baidupcs-go

BaiduPCS-Go download

Download

Download files or directories from the netdisk. Saves under the program's download/ directory unless a target is given.

DownloadExample values, fixed in this page — nothing here reaches a terminal
Basic
Netdisk paths*
string
Save to directory
directory
TasksEach one presets the form for one job
Download to a directory
remote_pathssaveto
Test download
remote_pathstest
ParametersOnly these flags are editable in the form
Netdisk paths
string · positional 0 · repeatable
Save to directory
path
--saveto
Save in current directory
boolean
--save
Overwrite existing files
boolean
--ow
Test download (save nothing)
boolean
--test
Threads
integer
-p
Max retries
integer
--retry
Skip verification
boolean
--nocheck

BaiduPCS-Go upload

Upload

Upload one local file or directory to a netdisk directory.

UploadExample values, fixed in this page — nothing here reaches a terminal
Basic
Local file or directory*
any
Netdisk target directory*
string
TasksEach one presets the form for one job
Upload
local_pathremote_dir
ParametersOnly these flags are editable in the form
Local file or directory
path · positional 0
Netdisk target directory
string · positional 1
Skip rapid-upload check
boolean
--norapid
SourcesEvery flag above is checked against these
readme
BaiduPCS-Go download <网盘文件或目录的路径1> <文件或目录2> <文件或目录3> ... --test 测试下载, 此操作不会保存文件到本地 --ow overwrite, 覆盖已存在的文件 --save 将下载的文件直接保存到当前工作目录 --saveto value 将下载的文件直接保存到指定的目录 -p value 指定下载线程数 (default: 0) --retry value 下载失败最大重试次数 (default: 3) --nocheck 下载文件完成后不校验文件 BaiduPCS-Go upload <本地文件/目录的路径1> <文件/目录2> <文件…
manualHEAD 2026-10-27

raw.githubusercontent.com

readme
BaiduPCS-Go download <网盘文件或目录的路径1> <文件或目录2> <文件或目录3> ... --test 测试下载, 此操作不会保存文件到本地 --ow overwrite, 覆盖已存在的文件 --save 将下载的文件直接保存到当前工作目录 --saveto value 将下载的文件直接保存到指定的目录 -p value 指定下载线程数 (default: 0) --retry value 下载失败最大重试次数 (default: 3) --nocheck 下载文件完成后不校验文件
manualHEAD 2026-10-27

raw.githubusercontent.com

readme
BaiduPCS-Go upload <本地文件/目录的路径1> <文件/目录2> <文件/目录3> ... <目标目录> 所有上传均默认检测秒传, 可添加参数`--norapid`跳过
manualHEAD 2026-10-27

raw.githubusercontent.com

Before it fills your prompt, Otty checks the installed BaiduPCS-Go against its version. A form that does not match your version is not offered.