update music scripts

This commit is contained in:
2025-11-05 21:47:23 +01:00
parent dded3a9c66
commit a0b1a11c7d
6 changed files with 192 additions and 9206 deletions

View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
target="$1"
shift
set -e
while [[ ! -z "$1" ]]
do
path="$1"
shift
out="$(dirname "$path")/$(basename "$path" | sed -e 's/\.[^\.]*$//').$target"
if [[ -z "$(echo "$out" | grep "\.$target\$")" ]]
then
out="$path.$target"
fi
ffmpeg -i "$path" "$out"
done