‰ cat ~/bin/tagify
#!/bin/bash
# Usage: $0 'The Awesome Band' "$@"
# where
# there's a directory structure of The Awesome Band/Awesome Album/A Track.foormat
# "$@" is args passed to mid3v2 (like genre)
artist="$1"
cd "$1"
shift
for album in *; do
cd "$album"
for file in *; do
mid3v2 -a "$artist" -A "$album" -t "${file%.*}" "$@" "$file"
done
cd ..
done
Неплохое наименование для ВЕБСКЕЙЛ-SAAS-буллшита.