6 lines
200 B
Bash
Executable file
6 lines
200 B
Bash
Executable file
#!/bin/sh
|
|
# 01 Song Title
|
|
for file in *.flac; do
|
|
title="$(echo "$file" | sed '$ s/.flac//' | sed '0,/[[:digit:]][[:digit:]]/s///' | sed '0,/\s/s///')"
|
|
metaflac --set-tag=Title="$title" "$file"
|
|
done
|