First make sure that python and pip package management tools are installed on the linux server
1. Install the bypy tool
pip install bypy
2. Authenticate your network disk account
bypy info
After executing the command, you will get a verification link, and open a new tab in the browser that has logged in to the network disk account to open the link for verification.
3. After the authorization is successful, we can see the following folders under the "My Application Data" directory in the network disk:
Transfer the file to be downloaded to this folder, and then execute it on the linux server bypy list
to view the files in this directory
4. Execute the command bypy downdir -v
or bypy downdir filename -v
download all files or specified files in the current directory
5. More commands and usage help
bypy -h