After importing photo libraries from iCloud and Google Photos, a lot of duplicate photos are present on my Synology nas. Because the Google Photos versions are not full resolution Synology does not detect them as duplicate. This tool helps you to find and move duplicate files based on filename and date. The largest version of the file will be kept.
Clone this repo.
pip install -r requirements.txt
python dedupe.py --dirs "Photos/Google Photos" "Photos/MobileBackup" --dest dupes --filters @eaDir --ext jpg png gif mp4 -v
For all arguments see:
python dedupe.py -h