gdrive 安装

安装gdrive

  1. 下载
    wget -O gdrive https://drive.google.com/uc?id=1Ej8VgsW5RgK66Btb9p74tSdHMH3p4UNb
  2. 移动 并且 添加执行权限
    mv gdrive /usr/bin/gdrive && chmod +x /usr/bin/gdrive

授权

  1. 授权命令
gdrive about #获取验证链接
  1. 授权
root@iZt4ndwirhtc51hbmf6lqbZ:~# gdrive about
Authentication needed
Go to the following url in your browser:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=367116221053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&state=state

Enter verification code: 

点击上面取得的链接,获取验证码,即可授权成功




本博客所有内容采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可
转载文章请注明:gdrive 安装 - https://cser.blog/blog/my-gdrive.html