How to locate Minecraft command blocks on a server?

How can I find all the Minecraft command blocks on my server? I need it enabled to play certain games, but I would like to remove some and I don't know where they are. Is there some kind of a yml file or server folder that contains all the locations of the command blocks when they are placed? Is there a plugin that can help me find them?

Probably should use xray.