File size: 265 Bytes
4133ed9
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
cd dataset

#!/bin/bash

# Loop through all .caf files in the current directory
for file in *.caf; do
    # Extract the base name of the file (without extension)
    base="${file%.*}"
    # Convert .caf to .wav using ffmpeg
    ffmpeg -i "$file" "${base}.wav"
done