Strip date from filename filter and move files older than the x days
Q: I want to make a file filter-> regex filter able to move files older than the current date -n to another folder.
The files i question are named like this: hjernetrim-quiz-helside_2025-
- First setup your Source, we used a Windows folder as Source:

- Open our Pascal Script option:

- Enable and add the following ‘On Destination’ script: link
- You can adjust the ctOlderThanDays Const if needed. At the moment it is set to 5

- As Destination we used a Windows Folder:
- RunTime Log Result:
If you need any help with this “strip date from filename filter”, please let us know.
Best Regards,
Limagito Team
#managedfiletransfer #filetransfer #filemanagement