summaryrefslogtreecommitdiffstats
path: root/bin/checkMissingmp3
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-03-11 18:57:49 +0100
committerlassulus <lassulus@lassul.us>2018-03-11 18:57:49 +0100
commit608857af5ba9c7f4a421bf3ec6ad3cdd1ff707b2 (patch)
treea26d19678217f09a8f9a2927800f6ab86a8ab75c /bin/checkMissingmp3
parent00b1d065a36a9800a9f8a8f6af30f90a006c9251 (diff)
shell.nix: run on all nix systems
Diffstat (limited to 'bin/checkMissingmp3')
-rwxr-xr-xbin/checkMissingmp39
1 files changed, 0 insertions, 9 deletions
diff --git a/bin/checkMissingmp3 b/bin/checkMissingmp3
deleted file mode 100755
index d7722d2..0000000
--- a/bin/checkMissingmp3
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-uri=$1
-musicDir=${musicDir-./}
-id=$(echo "$uri" | sed -n 's@^https\?://www\.youtube\.com/watch?v=@@p' | sed 's/#.*$//')
-
-if ! file=$(find $musicDir | grep -q "[-]$id\\.mp3\$"); then
- echo $uri
-fi