I’m building a library of HD music tracks and decided that it would be nice if it was in a separate folder from all my other music. Since I can’t remember what I have and where it’s located I’ve conjured up a quick ‘n’dirty Bash script to recursively scan a folder tree and produce two lists of SD and HD tracks.
HD is defined, for these purposes, as having a 24bit sample depth, irrespective of sample rate, but obviously using soxi’s other options (e.g. soxi -r) sample rates can be determined and acted upon accordingly.
It’s presented as is, with no comments, hope it’s useful to someone: –