Home
Dear all,

I am working on a MacPro 4,1 running OS X 10.11.6.
I have to replace an .EPS-file where the graphic content has been slightly changed. The name of the file has to stay the same, so the path in the projects won´t be broken (path for FrameMaker respectively). The file occurs more then 100 times in my projects, so I would like to avoid replacing files manually.
Is there a way to use Apples Automator for this? Or will any other application do this work?

Thank you in advance for any hint.
This may be overly simplistic, or your folder structure may not allow it, but if I had a folder with 100 documents in it and I dragged onto that folder another 100 documents with names identical to the 100 inside, I would be asked if I wanted to replace the original 100. Done. Even if, because of folder structure, the replacements could be done a dozen or so at a time, that would not be too tedious.

Now if your 100 originals are scattered in (literally) 100 different places, then that would require 100 different drag and drops; not efficient. crazy
I am not clear on what you are doing. Is that 100 different .EPS files or the same .EPS file in each of the 100 locations?
As I read trahnor's post he's got the same .EPS file in 100 different locations.

I've done some searching, but although there are any number of text replacement apps I didn't see anything that related to file replacement.
You´ve got the point, searching for and replacing text strings seems to be an easy and doable task.
But replacing files scattered all over different folders seems to be difficult.

The explanation why I have to do this?
I am a writer of technical documentations and manuals. Last week a client told me that the sign that we are using for Protection class II is non-conform and has to be exchanged. This sign occurs in bearly 75% of the manuals. When working in FrameMaker you´d better leave the files name as it is, otherwise you will have to relocate that file for FrameMaker-documents in your folder structure. That manuals come in 20 languages so the task multiplies pretty fast.
Thanks for your help!
PS: Nice avatar btw grin
Your description of your problem left me guessing that it was something along those lines; that's a major pain in the butt project you're confronted with!

You mentioned Automator, and I didn't touch on it because my one attempt to use it left me thoroughly confounded, but somebody familiar with it may still be able to lend you a hand.

Good luck!

Originally Posted By: trahnor
PS: Nice avatar btw grin

Thanks. smile
I just did a differently worded search and came up with How Do I Use 'cp' to Overwrite Files?

Originally Posted By: man:cp
DESCRIPTION
In the first synopsis form, the cp utility copies the contents of the
source_file to the target_file. In the second synopsis form, the con-
tents of each named source_file is copied to the destination
target_directory. The names of the files themselves are not changed. If
cp detects an attempt to copy a file to itself, the copy will fail.

Sounds like a possibility, but you'll need a UNIX guy to kick in. Maybe V1 will see this.
I wonder if a cloning app could use the new file on one volume as a source to overwrite all instances of the old file on a different volume?
© FineTunedMac