In case people like this idea enough, we could modify it to remove the file extension, and instead of x prefaced uuids when collisions occur, we could add a 4 digit running count to the base name to make unique values. Or we could convert the file extension and append it after an underscore (after removing its preceding dot.
So Cover.jpg it could generate Cover0007 (assuming th other 6 were already used) or use "Cover_jpg" instead. Or do a combination of both.
Ideas welcome.
Last edited by KevinH; 06-24-2024 at 06:50 PM.
|