Copy/Move files from one folder to multiple folders based upon text in filename

Can Copy/Move Files be used to move files from one folder to other folders based upon text in the file names? Example:

Folder “Quarterly Sales”
Division 1234 Q1 Sales.pdf
Division 1234 Q2 Sales.pdf
Division 4567 Q1 Sales.pdf

Target Folders
Division 1234 Sales
Division 4567 Sales

Files with 1234 in filename are moved/copied to Division 1234 Sales folder and files with 4567 in filename are moved/copied to Division 4567 Sales folder.

Any help or example workflow would be appreciated!

Thanks,

Mike

Here’s one approach:

You may have to play around with the configuration of the List Files node an the Cell Splitter nodes to get them to work for your specific situation.

2 Likes

Thanks so much for the help and example! I used Rule Engine (Dictionary) to look up the destination folder based upon text in the file name.

Mike

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.