ffmpeg, grep and find, oggenc

shows if music file is specified type with ffmpeg.

ffmpeg -i abba/the_complete_singles_collection_cd1/abba-_knowing_me_knowing_you.ogg  
2>&1  /dev/null | grep "Audio: mp3, 44100 Hz, 2 channels, s16, 128 kb/s" | wc -l

converts defekt oggs to good ones that are modified > 24 hours ago.

find /data/files/music/ -mtime +1 -name *.ogg -exec pacpl --overwrite -r -t ogg -o ogg {} ;