sync/scripts/reencode_audio.sh

8 lines
196 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
for file in ./*.$1; do
echo "ffmpeg -i '$file' -c:a copy -map 0:0 '../reencode/$file'";
ffmpeg -i "$file" -c:a copy -map 0:0 "../reencode/$file";
done