Proton Drive CLI: Use Drive from Your Terminal

(proton.me)

11 points | by martinord 19 hours ago ago

2 comments

  • teekert 17 hours ago

    This is very nice, I have TBs of storage available in my family subscription but being mostly on Linux it is unused, this is really great for backups. I hope we’re gonna see some nice wrappers for this. I also hope it’s the first step towards a Dropbox/Nextcloud like client for Linux! Great work!

  • teekert 6 hours ago

    A bit annoying is that the url from the blog does not link to Proton-cli directly, but it's there somewhere on that page.

    Also, I tried it, this is the result from following their instructions:

    $ chmod +x proton-drive

    $ ./proton-drive version =============================================== error: libsecret not available code: "ERR_SECRETS_PLATFORM_ERROR"

          at V_8 (src/cli/run.ts:77:13)
          at or0 (src/cli/run.ts:25:9)
          at async ar0 (src/cli/index.ts:29:15)
    Error details: {}

    So there are more steps needed (obviously the auth step).

    Edit, oops no, something else is missing:

    $ ./proton-drive auth login =============================================== error: libsecret not available code: "ERR_SECRETS_PLATFORM_ERROR"

          at V_8 (src/cli/run.ts:77:13)
          at or0 (src/cli/run.ts:25:9)
          at async ar0 (src/cli/index.ts:29:15)
    Error details: {}

    How does one get libsecret? Perhaps it's a NixOS issue.

    Edit: I added libsecret to my packages, the issue persists. So, no proton-cli for me :)