I have come up with a command line exe that will keep X number of the most recent *.rpp-bak files in subdirectories and delete the rest.
The C# source code is here for anyone who wants to make suggestions or improve it.
https://pastebin.com/LUYwY4aK
IT IS POTENTIALLY DANGEROUS and I would like to see if anyone wants to test it. I have only tested it locally. If you run "Delete_Rpp_Bak 0" all *.rpp-bak files will be deleted. This code is designed to ONLY delete *.rpp-bak and NO OTHER FILETYPES.
Usage: Delete_Rpp_Bak 5
will keep the latest 5 *.rpp-bak files in every directory below it and delete the rest of the *.rpp-bak files.
Please proceed with extreme caution as deleting things can go wrong.
Download the zip file with Delete_Rpp_Bak.exe here
https://drive.google.com/file/d/1FQP...ew?usp=sharing
Also, if Reaper devs don't want this utility to be available I'm happy to kill it off. Thanks in advance.
I imagine you could keep this in your top level Reaper project dir and run a batch file on startup with "pathto\Delete_Rpp_Bak 20" or whatever number you want to keep and have a nice clean bunch of backups of your most recent work at all times.
Thanks guys and let me know if it's any use to you.