Hi there. I am after a bit of insight. I need to perform a specific task. I have part of what I need, but am stuck on the second part.
Basically I need to search a folder for a specific file name. There are multiple files in this folders directory structure with the same name. I then need to rename the files to a new name but for them to rename in there original locations.
These are index files for a mail server's mail folders (kerio). I need to rename all the index files to force Kerio to rebuild the index's after a mass mail store recovery.
So What I have so far is the following.
find "location" -name "filename"
This will fine me all the files with the specific file name in the folder location I choose. Now I need to send the results into something else to be able to rename them in there current location which is the part I am stuck on. I believe I can do
find "location" -name "filename" -exec "newaction" {} ;\
Is this correct and what would the new action be?
Usually I would just use midnight commander to search and rename, but the install does not work in OS X 10.4 so I have to revert to terminal commands.
Any help would be greatly appreciated.

