How to delete file on RouterOS by filename using terminal or SSH (minimal example)

In order to delete a file named mybackup.backup on a RouterOS device using the terminal, use the following command:

routeros_delete_file.rsc
/file/remove [find name="mybackup.backup"]

Check out similar posts by category: MikroTik, Networking