Event Handling - Record Events and event ordering

This is not easy. In the export function, you can export and exclude items that are marked “Private” . These records have the locked padlock icon. The challenge is to mark all of these events as Private.

Manipulating the uncompressed export is the way to go but you do not want to delete the exents, you want to make them Private.

The standard format for an event record in the file is

<event handle="_c6981d953f43c1a4276" change="1579481559" id="E005760">
     <type>Death</type>

what you want would be

 <event handle="_c6981d953f43c1a4276" change="1579481559" id="E005760" priv="1">
     <type>Death</type>

Obviously the Event type will be the offending events you want removed and the Handle and ID are unique for each event. You just want the priv=“1” added to the line. Not every editor will allow the two line search and replace. I could do it with Windows Notepad.

Once the export file is altered and saved, you can import this file into a new empty database. After confirming that the events are indeed made Private, you will make a new export file. When doing this export, in the export options, check the box Privacy Filter; Do not include records marked private.

Once again create a new empty database, and import this last export. The event records should be removed from this tree.

Some caveats, the last export excluding Private records will exclude any record marked private. There are search parameters in each area of the database to search for records marked Private if you are not sure if this has been set on other records. And as always practice safe file management. Always know which file you are utilizing/manipulating at each step along the way.

The mass delete posted by @emyoulation will also work but will take a while to process.