Automatic segmentation/Remove silent sections

I need to simultaneously split a file into multiple files with silent sections removed. I have tried the Truncate Silence tool, but it only removes silence on a single track; it does not segment the file into multiple files.

I would also like to perform this in batch, so that I could take a folder of audio files and split each one into multiple files, with the split files in one folder for each original file.

Thank you advance,


You could use the SoundFinder tool (Analyze menu) to mark the non-silent sections, then use Export Multiple to export the labelled sections.
See here:

Audacity does not currently support Export Multiple or SoundFinder in batch mode.