Skip to main content


Holy fuck

I just want to upload some files to Google Drive from the CLI.
How the hell is this so hard?!

knightly reshared this.

@silverwizard Is there some way you can perhaps mount Google Drive into your filesystem? Then you could just use plain old cp.

@Jonathan Lamothe google-drive-ocamlfuse

The only slight issue is that it fails, mounts nothing, with no logs or information, no matter where I attempt to use it.

Have you tried with rclone?
@Kicou The rclone I have access to in packages is sliiiiiiiightly out of date, and in that slight change, Google changed its entire auth scheme
@Kicou importantly I'm stuck on AWS linux, and AL2 has out of date rclone and AL2023 wont install fail2ban
will the installed rclone binary self update?
@Kicou I installed it from packages, will that out of band update?

Ya, it will pull the latest binary from rclone.org repo and overwrite the existing one

You may want to back up the original binary file beforehand

@Kicou nah, the server doesn't live longer than a few hours

but ok, this might make me not claw out my eyes

I hate to say it, but could you bodge something together with curl?
@kicou
@DHeadshot's Alt @Kicou I got allowed to put the docs in S3, which is good only because AWS interacting with AWS