I have an audio file on my Linux system. Let's say a 2 second .wav file. I want to copy the same audio file 50 times into a new b.wav such that the duration of b.wav will be 100 seconds.
I tried like this:
for i in {1..50}; do cat a.wav >> b.wav; done
But it's not working. Please suggest a solution.