Date Last Matched issues

Hi Everyone, need some help with creating this rule. What I'm to do:
- For any new file in the Downloads directory I want to remove to replace " " (spaces) in the filename with "_" (underscore)
- I do not want this rule to apply to the files that were added/modified/renamed in the last 5 mins.
For some reason, these rules I created did not work
Rule1: (this immediately renames the file. I tried adding a "Date Last Matched is not blank, and that would fail for all files
Rule 2: (this worked for new files but applies immediately to renamed files)
Can someone please help with this?
Also, how does Date Last Matched work?
- For any new file in the Downloads directory I want to remove to replace " " (spaces) in the filename with "_" (underscore)
- I do not want this rule to apply to the files that were added/modified/renamed in the last 5 mins.
For some reason, these rules I created did not work
Rule1: (this immediately renames the file. I tried adding a "Date Last Matched is not blank, and that would fail for all files
- Code: Select all
- If all of the following conditions are met
- Any File
- Date Last Matched in not in the last 2 minutes
Rule 2: (this worked for new files but applies immediately to renamed files)
- Code: Select all
- If all of the following conditions are met
- Any File
- Date Added in not in the last 2 minutes
- Date Last Modified in not in the last 2 minutes
Can someone please help with this?
Also, how does Date Last Matched work?