Download script.sh from Ocillus/Estella: direct link, hf CLI and curl.
- Browser
- Download file 265 Bytes
-
https://huggingface.co/Ocillus/Estella/resolve/main/script.sh
- Command line
-
hf download hf://Ocillus/Estella/script.sh
-
curl -L -o script.sh https://huggingface.co/Ocillus/Estella/resolve/main/script.sh
265 Bytes
| 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 | |