Chicken Systems’ Instrument Manager can do this, as well as a bunch of other deep housekeeping chores like relinking samples, etc.
I once had some strange bugs in some Logic EXS instruments, and it turned out there were some weird characters in file names from being converted through different formats over the years (AKAI, Roland) - and Instrument Manager fixed it all for me.
I also wanted to clean up some of my commercial libraries and rename a bunch of samples/instruments, and this did the job.
Garth is definitely a PC guy but he knows some really deep-level Mac stuff too, and every time I’ve run into an issue, he has come to the rescue with a custom build that fixes the problem.
Highly recommended.