How to filter particles in batch mode


If I set verbose to 1, I can see all my particle tracks, like electrons, neutrons, etc.
But I am only interested in the detection of neutrons. I can use a filter in the visual mode, but can I also filter particles to be shown to me in batch mode?