I'm trying to compare all id3 tracks genres within an album and move to a final $GENRE directory if all tracks genres match.EDIT: successfully extracted a clean GENRE name, and replaced some unwanted characters.for FILES in *.mp3do GENRE=`id3tool $FILES | grep Genre | awk -F:| \\\( '{print $2}' | sed 's/[ .]/_/g ; s/&/n/g ; s/\//-/g'`[TO BE CONTINUED]ifall genres matchmove album to /dest/$GENRE/$ALBUMelsemove to /dest/genre-mismatch/$ALBUMfidoneThanks for your help.
Compare all id3 tracks genres within an album then move to directory
bash;sort;id3