10000 Non-interactive mode · Issue #147 · glotlabs/gdrive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Non-interactive mode #147

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rudiedirkx opened this issue Mar 4, 2025 · 0 comments
Open

Non-interactive mode #147

rudiedirkx opened this issue Mar 4, 2025 · 0 comments

Comments

@rudiedirkx
Copy link
rudiedirkx commented Mar 4, 2025

I use gdrive to save backups into Drive every night with cron. A few days ago for some reason the API keys didn't work anymore, and the files upload (in cron) asked for new keys, interactively. I only found out after the next day, because Python (?) complained about a socket/address being in use.

I don't ever want the cron script to go into auth flow when I ask for files upload. Maybe that's useful when interactive, but it's breaking when non-interactive.

2 requests:

  • Fix the socket error. Apparently you can just overwrite the socket? Maybe that's good enough?
  • Add non-interactive mode. Any keys/auth error exits with error message, no auth flow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0