Skip to content

Instantly share code, notes, and snippets.

@catalli
catalli / label-album.sh
Created September 21, 2023 22:17
Quick and dirty shell utility for non-destructively mass-setting metadata on a music album in a folder
#! /bin/bash
echo -n "Name of artist: "
read ARTIST
echo -n "Name of album: "
read ALBUM
echo -n "Year of album: "
read YEAR
FILES=$(ls $1 | grep -Ei ".(mp3|flac|opus|wav|m4a|ogg)")
mkdir "$1/$ALBUM"