function mp3info() { TRACK_NAME=$(basename "$1") FILE_DATA=$(file "$1" | awk -F, '{$1=$2=$3=$4=""; print $0 }') echo "${TRACK_NAME%.mp3} : $FILE_DATA" } Copy