2026-04-12 18:39 UTC
@rkaj@mastodon.nu @me@edafe.social
REMOVE_PATTERN="Johann Sebastian Bach: St Matthew Passion, BWV244 - "
for FILE in *.flac; do
TITLE=`metaflac --show-tag="TITLE" "$FILE" | sed -e "s/^TITLE=$REMOVE_PATTERN//"`
echo $TITLE
metaflac --remove-tag=TITLE --set-tag="TITLE=$TITLE" "$FILE"
done
Do try this at home kids, but make a backup copy first!
Replies (2)
-
@me@edafe.social 2026-04-12 22:20
@farnerup@fikaverse.club @rkaj@mastodon.nu Very cool. Will have to investigate. Thanks!
-
@me@edafe.social 2026-04-12 22:32
@farnerup@fikaverse.club @rkaj@mastodon.nu I use Mp3tag and Bottles for tagging audio files. 1) https://www.mp3tag.de 2) https://flathub.org/en/apps/com.usebottles.bottles #linux #flatpak #mp3 #flac #aac #aiff #wav #mp3tag #bottles