I think there isn't a SAP program or transaction for that.
=> write your own ABAP.
=> you have to use ABAP OO. see the interface IF_RSO_TLOGO_MAINTAIN.
=> before you delete the infosources you have to check
- is there an infopackage. Delete it first
- when the infopackage is in a process chain: don't delete anything.