Move Folders and Contents by Name with Automator or Script
Hello!
I am looking for a solution to un-nest and move subfolders with a script. Automator comes close to completing this task, but continues to move folders to the wrong location.
I have hundreds of folders with a name given by a serialized code. Inside of each of these folders are subfolders ending in "_C", "_W" and "_E" . I want to drop all of the main folders and have a script split the subfolders and their contents into like folders so that hundreds of C folders, W folders and E folders are all grouped together.
Thank you for any insights! Automator workflow included for reference.