Browse code

shellcheck reason

dewomser authored on30/12/2019 22:33:39
Showing1 changed files

... ...
@@ -12,6 +12,9 @@
12 12
 dl_folder=~/Downloads/youtube-dl/
13 13
 f=$(find $dl_folder -mtime 0 -type f -regex '.*\.\(mkv\|mp4\|wmv\|flv\|webm\|mov\)')
14 14
 folder1=$(echo $dl_folder|sed "s/\//\\\\\//g")
15
-f1=$(echo "$f"|sed "s/$folder1/\n/g")
15
+
16
+f1=$f
17
+## comment f1=$f and uncomment next line. Reason is this line is not shellcheck compatible. 
18
+#f1=$(echo "$f"|sed "s/$folder1/\n/g")
16 19
 
17 20
 notify-send "Neue Videos": "$f1" --icon=video-x-generic