I'm relatively new to the audiophile world and I still have some lossy audio files in my music folder. I do have all this music on cd so I would like to find the lossy albums so that I can rerip these, but this time in alac. How can I do this?

A smart folder works, but shows each track individually so that identifying each album still takes up quite a bit of time. I've tried a couple of disk usage tools, but none of them were capable of filtering by filetype or even better by audio bitrate.

Is there software out there that can do this? An iTunes script perhaps? Any help with sieving through a 300gB collection will be much appreciated.


In iTunes, go to the menu View -> View Options.

Expand the File triangle, and check “Kind”

You can now sort your songs by file type by clicking on that column header, and they cluster by album.

Alternately, make a smart playlist that includes files by their kind or size, and use the View dropdown in the top right to view it by Artist List (or Grid, but I assume you have your music collection sorted by artist.)


You might also use mdfind:

mdfind -onlyin ~/Music 'kMDItemAudioBitRate<=192000'

mdfind -onlyin ~/Music 'kMDItemContentType=public.mp3||(kMDItemContentType=com.apple.m4a-audio&&kMDItemAudioBitRate<5e5)'

mdfind -0 -onlyin ~/Music 'kMDItemFSName=*.mp3&&kMDItemAudioBitRate<=192000'|xargs -0 mdls -n kMDItemAlbum|cut -d\" -f2|awk '!a[$0]++'


I'd create a regular playlist, "purchased online with no CD", and add all the stuff you've purchased from the iTunes store or Amazon where you don't have physical media.

Once you've done that, create a smart playlist and set it to require Kind does not contain "Apple Lossless" and playlist is not "purchased online with no CD". Then sort it by album and you'll know which ones to re-rip without it nagging you about the stuff you don't have CDs for.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .