Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Variable
- DIR=/storage/.kodi/dir
- DIR2=/storage/.kodi/dir2
- #
- ## Delete old Playlists
- rm $DIR2/list.m3u
- #
- ## Download new m3u
- wget -O $DIR/m3u.tar.gz "https://dl.dropbox.com/s/xxx/m3u?dl=1"
- #
- ## Decompress
- tar -xzf $DIR/m3u.tar.gz -C $DIR2/
- rm $DIR/m3u.tar.gz
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement