Scrip for Auto Noise reduction

I think SoX will be your better option. Their noise reduction effect is documented here: http://sox.sourceforge.net/sox.html#EFFECTS (see: “noisered”)
There are some example bash scripts that you may find helpful here: https://forum.audacityteam.org/t/batch-scripts-with-other-programs/18178/1