Hi
I have a large number of files that are formatted like so:
AA0001
AA0002
AA0003
AB0001
AB0002
AB0003
AC0001
AC0002
AC0003
Is there a way to take all of these files and sort them into their respective folders using the text prefix, for example all the AA files go into a folder call AA, the AB's in AB and AC's into AC?
I have a TestFilter that will do using a @Value(fme_basename) CONTAINS Test Condition for each text prefix, the output for each of these going to it's own writer, and this does work however it seems messy. Is there a better way to do this?
Thanks.