Hi,
here is an example for a task that keeps your flash card clean by deleting old files. You can choose different criteria to delete files like:
- Delete the oldest file
- Delete all files older than a certain date and time
- Delete the oldest files until a certain amount of files is left
- Delete the oldest files until a certain amount of space is free
https://github.com/br-automation-com/mappCleanUp
Keep in mind that deleted files can not be restored. Use the simulation function to see what files would be deleted before you execute it for real.
Enjoy
Stephan