Another important feature of BinPatch is the ability to cleanup directories when applying a patch file to a directory. You may specify files to be "deleted" using the option "-d" and "-D".
With option "-d" you specify that all files found in source directories, but not found in the target directory shall be deleted/removed (actually they are only moved to the backup directory) when applying the patch file. You may restrict this by using a pattern like "-d=*.exe" which will work nearly the same way, but only remove obsolete program files and no other files.
With option "-D" you can specify files to be deleted even though they are not present in the target directory. You would typically use this with files that you know existed, but were ignored. Ignoring files by pattern has higher precedence than "-d" and would therefore cause ignored files not be removed. You should normally not need to use this option variant, but it's available for the few rare cases that might require it.