I've got a scenario that I'm unable to recreate, so I'm wondering if anybody else has an idea for this.
Say I've got a rule that scans a directory and its subdirectories, and if a file matching a specific criteria is detected, that file is moved to the root folder. So far so good, I'm able to do this with no problem. The files are moved, empty directories are deleted, everything works just hunky dory.
The problem comes when there's a file being moved to the root that has the same name as a file already in the root. What I want to do is to be able to define rules for which of the two to keep, things like "keep the one with the largest filesize" or "keep the one with the most recent created date" etc.
Any ideas?