i want to separate my flac files by sample rate; metaflac does not pipe:-(
for dir in ~/Hi-Def-Rips/*; do pathstring="$dir/*.flac"; metaflac --show-sample-rate $pathstring >> flacaudit.txt; done;
almost certainly not the most elegant bash; but it works:-) presumes the dir structure that i use.
grep flacaudit.txt for a sample rate.
cat flacaudit.txt | grep 44100
sort by sample rate:
sort -k2 -t : flacaudit.txt
might be a more capable script yet - if i remember or have the time!
=> return to gemini.mingmengtou.org index page.
neil.gemini@mingmengtou.org
content licensed CC-BY-SA 4.0 unless stated.
=> creative commons licence. This content has been proxied by September (3851b).Proxy Information
text/gemini;lang=en-GB