Share an open source network disk download tool BaiduPCS-Go

When you use the network disk, you must not be able to tolerate the speed limit download speed. Today I will share with you an open source network disk download project BaiduPCS-Go . Written in Go language, Baidu network disk command line client imitating Linux shell file processing commands. Multi-platform support, support Windows, macOS, linux, mobile devices, etc.

mark

Project download address , select the corresponding download package according to your operating system, and the directory after downloading and decompressing is as follows:

mark

The local default path of the downloaded file/directory is under the download folder. You can use the command to specify the local download path.

Because the use of command-line commands is described in detail in the README, I will only introduce a few main functions:

Log in

BaiduPCS-Go login

mark

list directory

List files and directories in the current working directory or a specified directory

BaiduPCS-Go ls
BaiduPCS-Go ls <目录>

52584755804

change working directory

BaiduPCS-Go cd <目录>

mark

Download file/directory

BaiduPCS-Go download <网盘文件或目录的路径1> <文件或目录2> <文件或目录3> ...
BaiduPCS-Go d <网盘文件或目录的路径1> <文件或目录2> <文件或目录3> ...

optional parameter

-test: 测试下载, 此操作不会保存文件到本地
-status: 输出所有线程的工作状态
--save: 将下载的文件直接保存到当前工作目录
--saveto: 将下载的文件直接保存到指定的目录
-x: 为文件加上执行权限, (windows系统无效)
-p <num>: 指定下载的最大并发量

Just take a screenshot, the download speed is still quite powerful!

mark

Upload file/directory

BaiduPCS-Go upload <本地文件/目录的路径1> <文件/目录2> <文件/目录3> ... <目标目录>
BaiduPCS-Go u <本地文件/目录的路径1> <文件/目录2> <文件/目录3> ... <目标目录>
  • Uploaded files will be saved to, <target directory> .

  • If a file with the same name is encountered, it will be automatically overwritten!!
  • When the uploaded file name and the directory name of the network disk are the same, the directory will not be overwritten to prevent data loss.

mark

List the directory after the upload is complete:

mark

Isn't it great, conscience tool, hurry up and use it!





Disclaimer: This article is a summary of the blogger's learning and perception. The level is limited. If it is inappropriate, please correct me. If you think it is not bad, you may click the [ Recommend ] button below, thank you for your support. Please indicate the source when reprinting and citing.

WeChat public account:


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326272022&siteId=291194637