sync_google_photos_to_local_linux_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
sync_google_photos_to_local_linux_server [11.08.2019 19:10] – created Pascal Sutersync_google_photos_to_local_linux_server [11.08.2019 19:40] – [How it's done] Pascal Suter
Line 21: Line 21:
   * now go again to create credentials and for the application type choose "Other"   * now go again to create credentials and for the application type choose "Other"
   * you will then be presented with your client-id and secret.. just click okay.. now you can download the client-id as a json file from your credentials screen. save the file to ''~/.config/gphotos-sync/client_secret.json'' (I had to create the directory first)    * you will then be presented with your client-id and secret.. just click okay.. now you can download the client-id as a json file from your credentials screen. save the file to ''~/.config/gphotos-sync/client_secret.json'' (I had to create the directory first) 
-  * now run gphotos-sync and pass the folder where you want to keep your local copy of your photos as argument: <code>gphotos-sync /data/google-photos/</code> + 
-  it will now ask you to open a link and allow the app to access your google photos.. do that and paste back the code that you are given after the login.  +now run gphotos-sync and pass the folder where you want to keep your local copy of your photos as argument: <code>gphotos-sync /data/google-photos/</code> 
-  + 
 +it will now ask you to open a link and allow the app to access your google photos.. do that and paste back the code that you are given after the login.  
 + 
 +last but nto least to run this automatically in the background, add the above command to your user's crontab (by running ''crontab -e'' as the user)  
 + 
  • sync_google_photos_to_local_linux_server.txt
  • Last modified: 14.08.2019 14:40
  • by Pascal Suter