ermig1979 / AntiDupl

A program to search similar and defect pictures on the disk
https://ermig1979.github.io/AntiDupl
MIT License
1.26k stars 93 forks source link

Empty folders not empty #132

Open TyDPower opened 2 years ago

TyDPower commented 2 years ago

Hi. I seem to be having a problem while using AntiDupl. When deleting duplicate images from folders, I see that the folder properties still show the original size and file quantity even after the images were deleted from the recycle bin. For instance I had a duplicated folder of 10GB, I ran the program and it deleted all the images from the folder. When I compared the two folders properties, they both still had a size of 10GB and file count of 100+ files, even though the one folder was empty.

I replicated this with DupeGuru, but after its deletion of the duplicate files the empty folders properties displayed 0 for size and 0 files.

Please let me know if I am not doing something correctly or if this is a bug could it be looked at. I really like AntiDupl, great job on the software.

SpL1Ne commented 2 years ago

AntiDupl doesn't delete picture immediately when you click 'delete photo'. It rename and hide them until you finish your work with pictures or some 'already deleted too many photos, time to move them to bin'-counter. It's because of undo-redo feature, so you could restore deleted photo.

To actually remove photo, you can click 'refresh results' button or start new search or close program. After that program will move photos to bin.

TyDPower commented 2 years ago

Thanks for responding. I have done that. After doing a batch I would either close the program or start a new search. The problem is that I now have thousands of "empty" folders that are not empty. Maybe I am not doing something correctly.