I am trying to create an apple automator application that will rename a group of files by removing all text before and including a hyphen ( - ) that will post an error if trying to rename a file with no hyphen.


input is 001-10312233_033

output is 10312233_033

Then if ran again on the same file (10312233_033) would produce an error or warning as there is no hyphen.

Any ideas what script in automator will make this happen?

You must log in to answer this question.

Browse other questions tagged .