Illustrator won't replace existing PNG file; creates copy and adds "-01" to filename
When I update an Illustrator file and wish to export/replace the previous PNG file, Illustrator asks me if I would like to replace the existing file. I click "Replace". However, the result is a new file with "-01" added to the end of the file name. The old version still exists. Why bother asking me if I want to replace it if it insists on creating a copy?
MacBook Pro Catalina / Adobe Illustrator 2021
-
Yup, this is obscuring.
See, Ai always adds the artboard number when you export an image.
Even if you have only one artboard. It will use the name of an artboard if it was renamed.
And numbering/naming is done automatically AFTER a base filename is chosen.
So if you had files exported previously (with -01 and so on in their names), they would have been overwritten is you have said Yes. But since the exported file is missing — it creates a new base one with the added artboard’s number.
Does it make it any clearer?
I assume that someone erased the '-01' from the original file’s name... Because Ai doesn’t produce these with Export command :)