How to delete file(s) by regex filename on RouterOS
The following RouterOS command will delete all files starting with backup-
:
/file/remove [/file find where name~"^backup-.*\$"]
The following RouterOS command will delete all files starting with backup-
:
/file/remove [/file find where name~"^backup-.*\$"]