• Search here in the scripts section. There are lots of backup scripts that can probably do this.

    Note that they will require the xp_cmdshell for the most part, and that's not necessarily what you want to do. A simple Maintenance plan can do this using the Maintenance Cleanup task.