Automator Batch Rename
I am trying to rename the awful way my video camera names it's files. I want to change it to something that makes sense and has meaning. I am trying to batch rename a bunch of files with names like this:
SANY0001.mp4
SANY0002.mp4
SANY0003.mp4
to
2017-06-01 17_35_58.mp4 (YYYY-MM-DD HH_MI_SS)
I am able to get the Date and Time information from the Create Date using automator, this is not the hard part.
I am not able to replace the SANY0001, SANY0002, SANY0003 because the Replace function needs to search for something, and the only common part is SANY000, witch I can replace, but then I end up with a filename like this:
2017-06-01 17_35_58 1.mp4
2017-06-01 17_41_21 2.mp4
2017-06-01 17_55_02 3.mp4
This is not horrible, but my OCD does not like it!
Is there a way to add a final step in my Automator process that takes the whole original filename, no matter what it is, and replace with null?
My file name is something like 2017-06-01 17_55_02SANY0003.mp4 by the time it gets to the part where I want to replace the SANY0003 with null.
Then I would have the file name I want, 2017-06-01 17_55_02.mp4.
Thank you.
iMac Line (2012 and Later)