ozgrozer / ai-renamer

A Node.js CLI that uses Ollama and LM Studio models (Llava, Gemma, Llama etc.) to intelligently rename files by their contents
https://x.com/ozgrozer/status/1812591967756255298
GNU General Public License v3.0
1.44k stars 89 forks source link

Images given same filename result in previously processed images to be deleted. #5

Closed mgalde closed 1 month ago

mgalde commented 2 months ago

Ai-renamer focused on the screenshot folder and processed some images with the same file name. This resulted in the photos being overwritten when the application was completed. Screenshot_20240708_140943

ozgrozer commented 2 months ago

Thank you for letting me know. I'll fix that.

ozgrozer commented 2 months ago

OK I've fixed it in this commit but you should be using Llava for images. Llama cannot read the images. That's probably why it was trying to use the same filename.

mgalde commented 1 month ago

Awesome thank you. Awesome project.