Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got an application 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?

share|improve this question
What is the application? – Jason Salaz Mar 8 '11 at 7:07
Capture One from Phase One. – Corey Riggle Mar 8 '11 at 15:01
Does anyone know what this phenomenon is called? – Corey Riggle Mar 9 '11 at 2:35
Cross-posted (tsk, tsk) to SU as #254915. – Chris Johnsen Mar 9 '11 at 6:10
up vote 3 down vote accepted

The application is in complete control of how it saves files (overwrite v. append). The answer is to pre-clean your destination before you start whatever work flow you are doing in Capture One. There are any number of ways to accomplish that.

  • use the rm command from the terminal
  • write a bash script that does something more complicated
  • write an applescript
  • create a new folder each time to point the application at
  • create a disk image via Disk Utility that you can clone and throw away when finished

These are just some of the ideas. I am sure there are other ways as well. Just need to find one that works for you.

A final thought, contact the makers of Capture One and make a case for why you would like them to change the software. Perhaps they will listen. :)

Good luck.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.