- Add all the existing files.

This commit is contained in:
2026-04-10 18:46:38 +02:00
parent deba3dd53f
commit 5b141b45cf
14 changed files with 2219 additions and 0 deletions

19
bin/music_check Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/bash
i=1
for file in $(find /opt/music/src -name '*.flac' | sort)
do
echo -ne "\r \r"
printf "%05d: " $i; echo -n "${file}: "
flac --test "${file}" >/dev/null 2>&1
if [[ "$?" == "0" ]]
then
echo -n "OK"
else echo "KO"
fi
i=$(($i+1))
done