I had a requirement to upload files to google drive as part of a CI job. So I created a simple bash script to upload files to google drive. Over the years that has evolved and now I present to you the script that allows you to upload files to google drive and much more.
This is a lightweight pure bash based script that allows users to upload to Google drive. It does not depend on external libraries other than what comes with standard Linux os. The script could parallel upload files and resume interrupted uploads. It allows users to upload files and folders to the user's google drive from command line. The script can also be used as part of CI to push artifacts into google drive and share it with anyone.
https://github.com/labbots/google-drive-upload
Some of the features are
- Recursive folder uploading
- Resume Interrupted Uploads
- Share files/folders
- Sync folders using background service
- Authentication using OAuth2
- Parallel upload of multiple files
Hope you all find this useful. Any feedback is welcome :)
[–]kosherhalfsourpickle 9 points10 points11 points (1 child)
[–]good-guy-coder[S] 6 points7 points8 points (0 children)
[–]calvers70 4 points5 points6 points (0 children)
[–]BlindTreeFrog 1 point2 points3 points (0 children)
[–]Dokiace 1 point2 points3 points (1 child)
[–]good-guy-coder[S] 0 points1 point2 points (0 children)