delstubs is a command-line program that allows you to count, list, and optionally remove deletion stubs in a Notes database. You can either work with all the stubs in a database, or you can specify a time range that you'd like to work with.
Use this tool with care. Please keep in mind that removing deletion stubs from a database will prevent the stubs from being replicated to other replicas of the database, which can cause data inconsistencies, and can potentially cause deleted documents and design elements to reappear in a database after replication has occurred.
Lotus Notes Client 4.6 or higher
There is a situation described in IBM Technote 1094238 where deletion stubs of parent documents with responses will not always be removed properly. This is a limitation of Notes, not of the delstubs tool.
download delstubs (15KB)