gilesknap / gphotos-sync

Google Photos and Albums backup with Google Photos Library API
Apache License 2.0
1.97k stars 163 forks source link

Photo renaming when downloading #340

Closed fmmarzoa closed 2 years ago

fmmarzoa commented 2 years ago

Hey there,

I have detected that some of the Photos I have uploaded to Google Photos share the same name with different case, like dsc_101.jpg vs DSC_101.JPG, and there doesn't seem to be a way to rename these in Google. This creates issues when downloading these into a case insensitive file system.

I'm thinking about something that could use the EXIF timestamp of each picture to name the file in the local file system, and then somewhere in the index database there could be a correlation table between the remote and local names to avoid duplicate downloads.

Thanks a lot!

gilesknap commented 2 years ago

sorry for late reply

gphotos-sync copes with local filesystem name clashes by adding (2) to the second instance (3) to the third etc. So you should be ok.

So I believe what you need is already implemented. Have you seen otherwise?

gilesknap commented 2 years ago

closing due to lack of activity. Please reopen if you still need help.