How to delete file(s) by regex filename on RouterOS
The following RouterOS command will delete all files starting with backup-:
routeros_delete_by_regex.rsc
/file/remove [/file find where name~"^backup-.*\$"]Check out similar posts by category:
MikroTik, Networking
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow