DIM seeing empty folder as installed because of the manifest file

After a major HD wipe, I managed to salvage most of it, including my DIM library. I was able to recover the DIM manifest file but after moving the salvaged installs onto a new disk, I saw that sadly not all installs have been saved. Because of the manifest file, DIM sees the empty files as being installed and now I have to go through almost 4000 items to see which folders are empty. That will take forever!
Is there a script out there that is able to see empty folders and will also automatically remove the manifest file associated with it?
Post edited by Sylvan on