Can someone provide me any solution?
You can delete duplicate files and photos using duplicate files fixer tool. But you can only remove 15 photos in trial version, after that you have to purchase it.
If you have an iPhone and you know how to use it and you can unlock iPhone, you can upload the iCloud phone to the Mac and clean all the photos, or use an auxiliary program to clean the photos but I do not recommend doing it because you can catch yourself a lot of viruses)
Open the Photos app.
Click File and select New Smart Album.
Set the filter criteria in the pop-up window, then choose a Smart Album Name.
Select the duplicate pictures, control-click on any of the selected imagesand click Delete.
Click Delete in the pop-up window to confirm.
Did it help you?
Activate the Photos app.
In the File menu, choose New Smart Album.
In the pop-up window, choose the filter criteria before selecting a Smart Album Name.
Control-click on any of the chosen images, select the duplicate images, and then click Delete.
To confirm, click Delete in the pop-up window.
To remove duplicate photos on your Mac, you can either use specific software or do it manually. Manually deleting duplicates requires going through several folders to dig up image copies. macOS has built-in features like the Smart Albums and Smart Folders that offer a more efficient way to sort out the files.
You’re also welcome to explore how MacKeeper can help you speed up finding duplicate images and deleting them.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.