Move .sh scripts into ./tools + README

This commit is contained in:
2022-06-04 17:03:31 +08:00
parent 94671a1515
commit c59330b56c
3 changed files with 50 additions and 1 deletions

17
tools/download-all.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
#################################################
#
# IPTV Playlist download tool
#
# Usage:
# ./download-all.sh
#
# All playlists from playlists.ini will be
# downloaded in ./files directory
#
#################################################
mkdir files && \
cd files && \
grep -P "pls='(.*)'" ../playlists.ini | sed "s/^pls=//g" | sed "s/'//g" | tr -d '\r' | xargs wget