Dropbox Short Lived Api's: Alternative?

I am finding myself configuring rclone every time i start my jupyter labs on runpod. I am looking for a way to speed up the process. Is there a way to make the dbx api's last longer? I know it's a new policty at dbx. I am using an Expect script to echo the answers up to the browser token request. But was wondering if there is already an automation for this?

expect script


spawn rclone config
expect "n/s/q>"
send "n\r"
expect "name>"
send "dbx\r"
expect "Storage>"
send "13\r"
expect ">"
send "\r"
expect ">"
send "\r"
expect ">"
send "\r"
expect "y/n>"
send "n\r"
expect eof

it works, but if the api expires within the same session, I have to run a bash to delete the expired one and reconfigure with expect anew.

Wish there was an elegant way to accomplish this.

running the latest rclone

Cloud storage: Dropbox

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.