1

How do I upload files from SUSE Linux to Google Drive using command line or shell scripting?

I have seen the question Mount Google Drive in Linux?, which suggests "Grive" and "Gdrive", but these fail with apps are unverified by the google, so just I posted this for any latest solution for this.

Tried for many ways but not found any solution for SUSE Linux.

Kusalananda
  • 333,661
chandan A
  • 21
  • 1
  • Possbly duplicated with: https://stackoverflow.com/questions/24554638/uploade-and-updating-files-to-google-drive-via-cmd – Paulo Tomé Nov 19 '19 at 13:22
  • 1
    @PauloTomé unfortunately, SE functionality does not let us close posts across sites like that. Feel free to import the appropriate answer here, with links/attribution back to the original. (Unless there's an on-site duplicate here?) – Jeff Schaller Nov 19 '19 at 14:28
  • Possibly duplicated with: https://unix.stackexchange.com/questions/37234/mount-google-drive-in-linux – Paulo Tomé Nov 19 '19 at 14:33
  • they actually explain about grive and gdrive i tried those not worked. its showing like "apps are unverified by the google" like that so just i posted this for any latest solution for this – chandan A Nov 20 '19 at 06:23

1 Answers1

5

Take a look at rclone, it has support for Google Drive. It should be available in openSUSE's repos.

Rclone is a command line program to sync files and directories to and from [...]

The configuration for Google Drive is available here (basically, use rclone config and get a token from your Google account); then, once it's configured as a source, you can use rclone's commands to copy data from/to it.

Renan
  • 17,136