Convert mov to wav
#!/bin/bash
shopt -s nocaseglob nullglob # Enable case-insensitive matching and skip loop if no match
for file in *.mov; do
echo "Converting: $file"
ffmpeg -i "$file" -vn -acodec pcm_s16le "${file%.*}.wav"
done
#!/bin/bash
shopt -s nocaseglob nullglob # Enable case-insensitive matching and skip loop if no match
for file in *.mov; do
echo "Converting: $file"
ffmpeg -i "$file" -vn -acodec pcm_s16le "${file%.*}.wav"
done