/gphotos-sync

Google Photos Simple Synchronization Tool

Primary LanguagePythonMIT LicenseMIT

Google Photos Sync

Google Photos Sync is a simple script that will synchronize on a local filesystem all the photos stored in your Google Photos account.

All the photo filenames are automatically renamed according to the date and camera model and are stored in a YEAR/MONTH/ folder hierarchy.

Install and configure

Just run python setup.py from the source directory to install it in your system.

In order to work, gphotos-sync first needs a valid client id linked to a project authorized to use the Google Drive API. It is not provided in the distribution.

To do so:

How to use it

Once the script is configured, you are now ready to use it using the simple following command line:

gphotos-sync TARGET_DIRECTORY

The first time, it will ask you to go to an url and copy back the authorization code in order to authorize the client to access your Google Photos through Google Drive.

It will then begin to download all photos locally.