summaryrefslogtreecommitdiff
path: root/bin/media-filename-to-title.sh
blob: 38dadd2e9338cabee62e8f633e97ef7ec4bf7058 (plain)
1
2
3
4
5
for f in *; do
    ffmpeg -i "$f" -metadata title="$(basename $f)" -c copy "new_$f"
    mv "new_$f" "$f"
done