douo / gdrive Goto Github PK
View Code? Open in Web Editor NEWThis project forked from prasmussen/gdrive
Google Drive CLI Client
License: MIT License
This project forked from prasmussen/gdrive
Google Drive CLI Client
License: MIT License
https://github.com/odeke-em/drive
They seem to let the user set up without creating an app in Google API. Can we do the same in gdrive? That cuts instruction to 1/10 of the current size. Besides, the instruction on mynotepaper.com is already outdated as Google changed their UI.
Our server version info:
lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-ia32:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-ia32:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-ia32:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 7.8 (Maipo)
Release: 7.8
Codename: Maipo
Go version info:
go version go1.13.14 linux/amd64
I stuck with step five: gdrive list
. After copy & paste the authentication link, I got this error info as the image shows.
Do I have something wrong with these? Thanks a lot!
This is what didn't work
ALL
) to a shortcut under my drive.$ /usr/local/go/bin/gdrive list
Id Name Type Mime Size Created
14PE95cxVyzdVouzEWvsUIt3ydpMYv20F ALL doc application/vnd.google-apps.shortcut 2020-10-19 18:08:56
$ /usr/local/go/bin/gdrive download --shortcut ALL
Failed to get file: googleapi: Error 404: File not found: ALL., notFound
This is worked
$ /usr/local/go/bin/gdrive download --shortcut 14PE95cxVyzdVouzEWvsUIt3ydpMYv20F
Suggested:
gdrive download allows both fileID and file path (they rarel collide).
2 changes are needed.
const ClientId = "367116221053-7n0v**.apps.googleusercontent.com"
const ClientSecret = "1qsNodXN*****jUjmvhoO"
Should be the same as in README.md
go get github.com/prasmussen/gdrive
Should be the same as in README.md
Ultimately, the notes has to be converted to README.md while README.md no longer refer to the outdated 'mynotepaper.com' link.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.