$ bypy info Please visit: https://openapi.baidu.com/oauth/2.0/authorize?scope=basic+netdisk&redirect_uri=oob&response_type=code&client_id=q8WE4EpCsau1oS0MplgMKNBn And authorize this app Paste the Authorization Code here within 10 minutes. Press [Enter] when you are done
Visit the url then copy the code in terminal and entry
1 2 3 4 5 6
Authorizing, please be patient, it may take upto None seconds... Authorizing/refreshing with the OpenShift server ... OpenShift server failed, authorizing/refreshing with the Heroku server ... Successfully authorized Quota: 2.008TB Used: 192.089GB
$ bypy list /apps/bypy ($t $f $s $m $d):
Limited by Baidu PCS api, files just can be accessed under the /apps/bypy directory in Baidu cloud disk
Upload to cloud disk
1 2 3
$ cd ~/data/ $ bypy upload [____________________] 0% (85.2MB/1.3GB)
All files under the data directory are uploading.
Download file from cloud disk
$ bypy downdir
Files under the directory /apps/bypy will be downloaded now.