I'm trying to create an Automator service to take a selected file, move it to the parent folder, replace specific text in the file name, and move back into the original folder overwriting an identically named file there.
For clarification, folder shot_10 has the following files in it:
shot_10_CURRENT.mov
shot_10_v001.mov
shot_10_v002.mov
shot_10_v003.mov
I want to select shot_10_v003.mov, move it to the parent folder, rename it shot_10_CURRENT.mov, and then move it back, overwriting the _CURRENT file in the original folder. I realize there might be other ways of achieving the same final file structure, but because of some specifics in my workflow it needs to be this exact sequence. Basically, I need to replace the _CURRENT file with the latest version without first deleting the one that exists. Any suggestions?
For clarification, folder shot_10 has the following files in it:
shot_10_CURRENT.mov
shot_10_v001.mov
shot_10_v002.mov
shot_10_v003.mov
I want to select shot_10_v003.mov, move it to the parent folder, rename it shot_10_CURRENT.mov, and then move it back, overwriting the _CURRENT file in the original folder. I realize there might be other ways of achieving the same final file structure, but because of some specifics in my workflow it needs to be this exact sequence. Basically, I need to replace the _CURRENT file with the latest version without first deleting the one that exists. Any suggestions?