I've got an application running is OS X that won't overwrite a file with the same filename. It will only append the filename with a 'space 1'. If I write a file more than once I get something like this:
* filename.jpg
* filename 1.jpg
* filename 2.jpg
What I need is to only ever have the newest file without the extra space and number.
Is there anyway around this? Perhaps an applescript running in the folder?