Recently, the original gdrive failed due to Google's new policy. To solve this problem, please check the detailed discussion in this issue. Here, I just summarize some key points of one working solution:
- Follow the instructions to install the latest Go (at least 1.18).
- Clone another gdrive repo.
- Get your
clientId and clientSecret by following the instructions in the repo.
- Edited
handlers_drive.go to include your credentials.
- Exected
compile to get the binary file gdrive.
- Running
gdrive about to authorize access to your google drive.
Recently, the original gdrive failed due to Google's new policy. To solve this problem, please check the detailed discussion in this issue. Here, I just summarize some key points of one working solution:
clientIdandclientSecretby following the instructions in the repo.handlers_drive.goto include your credentials.compileto get the binary filegdrive.gdrive aboutto authorize access to your google drive.