simonedegiacomi / gphotosuploader

Unofficial Google Photos uploader and Go library
GNU General Public License v3.0
99 stars 29 forks source link

two different gphoto accounts #22

Closed ihartaras closed 6 years ago

ihartaras commented 6 years ago

Thanks for tool! Is it possible to synchronize two different folders with two different gphoto accounts in the same time?

simonedegiacomi commented 6 years ago

Yes, you can run multiple instances of the tool, but you need to take care of the auth file.

For example, if you have a folder A that you want to upload to account 1 and a folder B that you want to upload to account 2, you can use something like this:

go run main.go --auth auth-a.json --upload ~/images/A
go run main.go --auth auth-b.json --upload ~/images/B

You can also use two different files for the uploaded list (using the --uploadedList argument) but it's not necessary.