mholt / photobak Goto Github PK
View Code? Open in Web Editor NEWBack up your content from Google Photos - DEPRECATED: use Timeliner
Home Page: https://github.com/mholt/timeliner
Back up your content from Google Photos - DEPRECATED: use Timeliner
Home Page: https://github.com/mholt/timeliner
Hi,
Thanks for your help with previous issue working fine now have logs tag set.
Once ive closed the command window and re-opened how do I tell photobak to sync the same repo did try re-run what I thought was the location but instead created new folder and photobak.db ??
Any help would be appreciated :-)
It looks like this is not dealing too well with photos with the same name. Hangouts apparently saved images from the same day with the same name (just the date) and the tool doesn't rename these duplicates. Every time the command is rerun of course it detects it as a checksum error and redownloads.
I've just tried to start and authenticate the app, however, I got stuck at the OAuth2 authentication step. The app opens a web browser (checked with both chromium and Firefox) in which I successfully log into my account but subsequently the webpage starts to wait with "Waiting for localhost" status bar message. The app is waiting for something as well with a message about obtaining tokens.
Have I missed anything? What are the web browser and the app waiting for?? (I have client's ID and secret exported)
Cheers
Announced this week: https://developers.google.com/photos/
Getting started guide: https://developers.google.com/photos/library/guides/get-started
Hi, I was trying to use this tool for the first time, but I'm getting an invalid_client
error.
I've put my OAuth2 info but it seems it doesn't like that. I'm probably doing something wrong in google console. Can you help me navigate where should I create correct OAuth2 credentials?
Thank you ๐๐ฝ
After using the app for a day I'm getting the following error:
2017/10/22 15:57:19 Get https://picasaweb.google.com/data/feed/api/user/default: oauth2: cannot fetch token: 400 Bad Request
Response: {
"error" : "invalid_request",
"error_description" : "Could not determine client ID from request."
}
I'm using the app in a headless mode, so I ran authonly and copied the database to my NAS. Then I made a backup and the next day I'm getting the error above. How can I recover? Did anyone come across the same issue?
I know that photo captions (descriptions) from Google Photos are stored in photobak.db, but how can I extract them into usable form? Maybe there should be an option to save Google Photos captions as Exif 'Title' metadata in downloaded photos?
Hi,
I use a server with no browser.
Is it possible to write link to copy and paste on external browser
Hi, love the program hoping to contribute more once setup properly...one question...is their any way of seeing current status of download. Have just set up Google to sync for first time photos are appearing and it's still running in terminal just no status...
$ export GOOGLEPHOTOS_CLIENT_ID=...
$ export GOOGLEPHOTOS_CLIENT_SECRET=...
$ photobak -googlephotos [email protected]
I got my IDs but not sure how to run it.
After some period of time (I think one hour) I get this error and sync will no longer work.
It would be great if you could create symlinks or hardlinks for deduplication instead of creating an others.txt
file with paths to photos.
I've found photobak is regularly OOM killed by the Linux kernel:
kernel: Out of memory: Kill process 9042 (photobak) score 695 or sacrifice child
kernel: Killed process 9042 (photobak) total-vm:30599888kB, anon-rss:13104776kB, file-rss:0kB, shmem-rss:0kB
kernel: oom_reaper: reaped process 9042 (photobak), now anon-rss:0kB, file-rss:4kB, shmem-rss:0kB
Above instance was built with go1.8rc1. Retested with go1.7.4:
RSS doesn't grow while it rescans already downloaded folders, but it appears to increase at roughly the size of each photo downloaded. I haven't waited for it to get OOM killed again, but it seems likely since it's up to 1.4G RSS and growing..
Currently using rwcarlsen/goexif but it has some unpatched bugs, for example: rwcarlsen/goexif#51
This fork looks promising: https://github.com/xor-gate/goexif2 - compare: rwcarlsen/goexif@go1...xor-gate:develop
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.