"Move to Folder" Automation

I learn by having a need and searching for scripts on the internet
This is a great forum to ask questions
Here’s a sample to get you started