quiethost

This commit is contained in:
Lucas Faber authored and Lucas Vivohost committed 2026-09-14 09:20:47 +02:00
1 parent 9c379af76b
commit b3c06c0a80
47 files changed
+2116

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
ls "$1"
if [ $? -ne 0 ] || [ "$1" == "" ]; then
echo "List $1 not available"
fi
list=$1
IFS=$'\n'; set -f
songs=($(cat ${list} | cut -f1 -d';'))
artists=($(cat ${list} | cut -f2 -d';'))
unset IFS; set +f
for((i=0;i < ${#songs[@]};i++)) do
printf "%s - %s\n" "${artists[i]}" "${songs[i]}"
find /data/DatenLucas/Music/ -type f -iname *"${songs[i]}"* | grep "${artists[i]}"
done