How to automate audio editing?
Install Homebrew, run brew install ffmpeg, and then run something like

cd ~/containing/folder;for f in *.aif;do /usr/local/bin/ffmpeg -i "$f" -ss 0:12:34 -t 0:0:5 -c copy "${f%.aif}-clip.aif";done

where -ss 0:12:34 is the starting position and -t 0:0:5 is the duration.