Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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
3  
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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.