neil in gemini space

metaflac - 2022-04-22

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.

Proxy Information
Original URL
gemini://gemini.mingmengtou.org/2022-04-22-metaflac.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
319.379684 milliseconds
Gemini-to-HTML Time
0.457205 milliseconds

This content has been proxied by September (3851b).