quiethost
This commit is contained in:
1 parent
9c379af76b
commit
b3c06c0a80
47 files changed
+2116
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user