@nexusone13 Hi,
I changed all the folder paths as suggested as shown below....
When I tried this time, it went through the files, and deleted 217 unused images as expected - great!
But, it then continued and deleted every other file in the folder again.
I have included a part of the log file below so you can see what it did.
I notice unusual file structures mentioned when it went back to the start...
\downloaded_images\Xor (Astral)[h Fairlight]-mix.png
-- Deleting image : C:_C_Dumping ground\ROMS\c64\downloaded_images\Xyron (1995)(-)[h]-mix.png
-- Deleting image : C:_C_Dumping ground\ROMS\c64\downloaded_images\Yabba Dabba Doo-screenshot.png
-- Deleting image : C:_C_Dumping ground\ROMS\c64\downloaded_images\Zaxon (Hungary) (Unl) (disk)-mix.png
Deleting unused image files finished. (Deleted : 217 image file(s) )
Processing media folder : ./downloaded_images
-- Deleting image : C:_C_Dumping ground\ROMS\c64./downloaded_images\007 Car Chase (USA) (disk)-mix.png
-- Deleting image : C:_C_Dumping ground\ROMS\c64./downloaded_images\007 Car Chase (USA) (disk)-video.mp4
-- Deleting image : C:_C_Dumping ground\ROMS\c64./downloaded_images\10th Frame (Access.d-TSC)-mix.png
-- Deleting image : C:_C_Dumping ground\ROMS\c64./
Note : the unusual file location for the files is the temporary storage area I put my folders when scraping on the PC
What I dont understand is, it went through the list of 6000 images, and only deleted 217 of them. It ignored 5800 of them. So when it got to the end, why instead of stopping, did it start again, and delete every file that was left ?