Skip to content

Uploads Photos (deep upload) from a directory to Google Photos

Notifications You must be signed in to change notification settings

shraiysh/Photos-Upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Photos Upload

The purpose of this project is to help upload all image files inside a folder and all its sub-directories to Google photos. This was particularly useful for me when I was transferring my images from one account to another on Google Photos

How to run

  1. Download client_secret.json in the src folder.
  • Go to the Google API Console.
  • From the menu bar, select a project or create a new project.
  • To open the Google API Library, from the Navigation menu, select APIs & Services > Library.
  • Search for "Google Photos Library API". Select the correct result and click Enable.
  • Under Credentials for your project, create OAuth Client ID for other and open the newly created credentials link
  • Download JSON as client_secret.json in the src folder
$ cd src
$ python3 main.py [folder-path]

Features

  1. Handles abrupt termination on a sub-directory level. It means that if the program terminates, it restarts uploads from the last directory it was uploading.

Fututre features

  1. Sync from Google photos to make sure that same photos are not uploaded twice

Contributions

Sugesstions and contributions are always welcome. Please open an issue or submit a PR.

About

Uploads Photos (deep upload) from a directory to Google Photos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages