Applying chains via terminal

I need to apply a chain to like few thousand files, and it would be really handy to make it via terminal, can this be done?
I’ve googled a lot, but didn’t find a way to make it. Only variant i saw was to make it with autoit, but it seems to be too hacky.
Thanks for your answers in advance

Audacity is primarily a GUI application. Command line options are very limited and do not include Chains.
Audacity does have a built in scripting language called “Nyquist” that is an extremely versatile tool for programming effects, but I’m guessing that is not what you want (
“SoX” is a command line program for editing and processing audio - perhaps more suited to your needs ( It is included in the repositories of most of the major Linux distributions.