init
This commit is contained in:
9
bin/run
Executable file
9
bin/run
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
mkdir -p "output"
|
||||
TRACK=1
|
||||
for file in *.opus; do
|
||||
NEW_FILENAME=$(echo $file | sed 's/ - Kirby Super Star OST//')
|
||||
TITLE=$(echo $file | sed 's/ - Kirby Super Star OST.opus//')
|
||||
ffmpeg -i "$file" -metadata artist="Nintendo" -metadata album="Kirby Super Star OST" -metadata title="$TITLE" -metadata track="$TRACK" -codec copy "output/$file"
|
||||
((TRACK++))
|
||||
done
|
||||
Reference in New Issue
Block a user