dropbox-to-google-photos

save dropbox pictures and videos to google photos

Installation

go install github.com/chyroc/[email protected]

Usage

Google Photos OAuth Config

Then you can get a google ooauth app id and secret.

Init config

dropbox-to-google-photos init

default config file is ~/.dropbox-to-google-photos/config.json

open config file and fill in the blanks

{
  "account": "[email protected]",
  "google_photos": {
    "client_id": "client id",
    "client_secret": "client secret"
  },
  "dropbox": {
    "token": "dropbox token",
    "root_dir": "/"
  },
  "worker": 20
}
  • account: your email
  • google_photos.client_id: google oauth app id
  • google_photos.client_secret: google oauth app secret
  • dropbox.token: dropbox token
  • dropbox.root_dir: dropbox root dir
  • worker: worker count(upload goroutine num)

Auth google photos

dropbox-to-google-photos auth

Sync dropbox to google photos

dropbox-to-google-photos sync

Thanks

GitHub

View Github