Cron RB3011 remove file

Hello,
I have a Mikrotik RB3011 with USB port. I attached a external HDD and i create a new user.
On the external hdd are make backup daily on certain servers and i want keep only last 10 archive.
The name of the archives is: backup-3.29.2016_02-21-59_nameOfAccount.gz.

I can make a script that does this?
Sorry for my english.

help :frowning:

Yes you can write a script that removes files and run this script with scheduler.