If you need to do it programmatically then you can use the SAS Open Metadata API to find the objects with the appropriate filter criteria and then delete them.
For a manual approach in SAS Management Console, you could try using the Search Tab. You can filter based on type, folder, and date, and then shift/control-click-select a range (or Control-A for all), right-mouse-click and delete the selected items.