sync/scripts/reencode_mp3.sh

8 lines
197 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -euo pipefail
for file in ./*.mp3; 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