#!/bin/bash printf "file '%s'\n" hr/*.wav > hr_concat.txt ffmpeg -f concat -safe 0 -i hr_concat.txt -c copy sounds/hr.wav