url-encode filename (problem with square brackets)
This commit is contained in:
parent
59e5f1f174
commit
084106bbd5
|
@ -30,5 +30,5 @@ m3uFile="Playlist - $playlistTitle"".m3u8"
|
|||
echo "#EXTM3U" > "$m3uFile"
|
||||
echo "#PLAYLIST:$playlistInfo" >> "$m3uFile"
|
||||
echo "$urls" | while read url; do
|
||||
find . -name "*$url*" -prune >> "$m3uFile"
|
||||
find . -name "*$url*" -prune -exec basename '{}' ';'| tr -d "\n" | jq -sRr @uri >> "$m3uFile"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue
Block a user