

To Google and this project will be updated once they are resolved. If you have shared albums and have clicked ‘add to library’ on items from others’ libraries then you will have twoĬopies of those items and they will show as duplicates too.Ī few outstanding limitations of the Google API restrict what can be achieved.Was originally created using gphotos-sync). It will run without it but will not be able toĮxtract metadata from video files and revert to relying on Google Photos meta data and file modified date (this isĪ much less reliable way to match video files, but the results should be OK if the backup folder the comparison code uses an external tool ‘ffprobe’.This is a flat structureĪnd the symlink filenames have a numeric prefix to make them unique and group the duplicates together. duplicates - contains symlinks to any duplicate files found in the comparison folder.The folder structure is the same as the photos folder. extra_files - contains symlinks into to the files in photos folder which appear in the Library but not in theĬomparison folder.These are theįiles that you would upload to Google Photos via the Web interface to restore from backup. The folder structure is the same as that in the comparison folder. missing_files - contains symlinks to the files in the comparison folder that were not found in the Google.comparison a new folder off of the specified root containing the following:.

The additional folders after a comparison will be: That the files are arranged in the same folders, it uses meta-data in the files such as create date andĮxif UID to match pairs of items.

The option is used to make aĬomparison of the contents of your library with a local folder such as a previous backup. In addition there will be further folders when using the –compare-folder option. The files are symlinks to content in the photos folder. albums - contains a folder hierarchy representing the set of albums and shared albums in your library.

Of the file (this matches the approach used in the official Google tool for Windows). Will be as per the original upload except that duplicate names will have a suffix ‘ (n)’ where n is the duplicate number Structure ‘photos/YYYY/MM’ where ‘YYYY/MM’ is the date the photo/video was taken.
