You could also write a M/R script for this, though...
# general
m
You could also write a M/R script for this, thought that is more involved
l
Workflow didn't work. Script is going to have to be the way to go.