Mp3

i wanted to find the bitrate on a file in the terminal and i found this bashrc function…

    echo `basename "$1"`: `file "$1" | sed 's/.*, \(.*\)kbps.*/\1/' | tr -d " " ` kbps
}