Git Product home page Git Product logo

gdriveupload's Introduction

Important Note

  • gdrive on this repository required the following requirements:
    • Graphical User Interface (GUI)
    • Browser
  • For headless machines, i.e. (servers, vps)

Overview

gdrive is a command line utility for interacting with Google Drive. Based on gdrive

Installation

  • Download the latest gdrive binary file according to your Architecture / OS from Here
  • Rename file first:
    • Example: gdrive-linux-x64 to gdrive
mv gdrive-linux-x64 gdrive
  • Add permission to the file:
chmod +x gdrive
  • Install in following folder:
    • Note: sudo is not necessary, but if you feel it's required for your os, then you should use it.
sudo install gdrive /usr/local/bin/gdrive
  • Run the following command to authenticate with your Google Drive / Team Drive account:
gdrive list

To Uninstall / Remove any Previous Version

  • For current version (Latest):
    • Removing file:
sudo rm -rf /usr/local/bin/gdrive
  • Locating token file, follow:
ls -a ~
cd ~
cd .config
cd gdrive
or
cd ~/.config/gdrive/
  • Removing token file:
rm -rf ~/.config/gdrive/token_v2.json
  • For previous version (Old):
    • Removing file:
sudo rm -rf /usr/local/bin/gdrive
  • Locating token file, follow:
ls -a ~
cd ~
cd .gdrive
or
cd ~/.gdrive/
  • Removing token file:
rm -rf ~/.gdrive/token_v2.json

Usage

  • Recommended to use the gdrive help command to learn more about the tool and to use it properly.
  • To upload a file directly to the root of the drive:
gdrive upload "file.zip"
  • To upload a single file to a specific folder or directory:
    • Note: Below commands works for both gdrive and team-drive as well
gdrive upload -p 0ABCA123456789 "file.zip"
  • To upload a whole folder or directory:
gdrive upload -r -p 0ABCA123456789 "folder-name"

Notes:

  • I don't own the code or the tool, and I am thankful to all the developers and contributors who have made this wonderful tool.
  • In the repository, I have uploaded the gdrive-linux-x64 which is rename to gdrive.
  • If you want to read about the documentation of the tool completely, please visit their official repository.
  • I am using the following source code for compiling the binaries.
  • I am thankful to hashhackers and their team, which always bring the best quality of services to their users.

Credits

gdriveupload's People

Contributors

usmanmughalji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gdriveupload's Issues

A huge thanks sir

Hi sir thanks for giving uninstall commands,
But one more issue i faced that is..
Upload speed is stuck at 3mbps restarted server also and did uninstall and installed again..but same 3mpbs upload speed..
But it was not before, it's was going to 25mbps + but not for now..
Don't know what is the actual issue..
If you know what is the issue then please help or guide me..
Thanks a lot.❤️

But there is one more issue i can't install gdrive after install ,
After installing process i can't open the link, I'm stuck here

Uninstall

Sir how I can uninstall gdrive after installing..
Want to uninstall so there is not option for it?
Please provide uninstall steps for it..
Thanks

Authentication via browser is not working anymore, returns 400

This is the error message I am getting when trying to authenticate in the browser:
https://ibb.co/DfWbH5b

Access blocked: project-367116221053’s request is invalid

You can’t sign in because project-367116221053 sent an invalid request. You can try again later, or contact the [developer](https://accounts.google.com/) about this issue. [Learn more about this error](https://support.google.com/accounts/answer/12379384)
If you are a developer of project-367116221053, see [error details](https://accounts.google.com/).
Error 400: invalid_request

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.