We have a huge (old legacy java) code-base, where many files (around 5k) have System.out.println\'s. We are planning to remove them for cleanup/performance reasons. How can
Have you considered editing those source files to remove the lines?
You might find that it will only a developer a couple of days to go through and get rid of most of them. We had a similar issue and I just got up really early and went through all our files getting rid of rubbish.
I used Eclipse and the clean up on save feature to cleanup imports and stuff at the same time.
Its quite a therapeutic thing to do!