Browse code

shellcheck -vorschläge eingebaut

dewomser authored on30/12/2019 17:23:49
Showing1 changed files

... ...
@@ -12,5 +12,6 @@
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
+f1=$(echo "$f"|sed "s/$folder1/\n/g")
16
+
16 17
 notify-send "Neue Videos": "$f1" --icon=video-x-generic