- Compiled with latest go (1.16.4)
- Compiled Date: 24-05-2021
- Added approved Google API huge thanks to this man https://github.com/ParveenBhadooOfficial for providing approved api.
Gdrive is a command line utility for interacting with Google Drive.
This is orginally project by https://github.com/gdrive-org/gdrive check this out for more information about this cli based tool.
That tool which i have uploaded and using it's from https://github.com/petrpulc/gdrive/ because this user added the support of Shared Team Drive.
For using this tool on other platforms visit below link.
https://drive.google.com/drive/folders/12GSQhLLdKDdKzq_a-7WOrip5HnFmm1v9
git clone https://github.com/usmanmughalji/gdriveupload
chmod +x gdrive
sudo install gdrive /usr/local/bin/gdrive
gdrive list
Than do authenication by clicking on link and enter code
-p means parent directory
gdrive upload -p File ID Of Shared Drive or Folder ID ./image.png
Example
gdrive upload -p 0AAlxxxxxxxxxxxxx ./image.png
gdrive upload ./file.txt
gdrive upload -p 0AAlxxxxxxxxxxxxx ./file.txt
wget https://raw.githubusercontent.com/usmanmughalji/gdriveupload/master/gdrive && chmod +x gdrive && sudo install gdrive /usr/local/bin/gdrive && gdrive list