1
0
Fork 0
dotfiles/.local/bin/peertubetorrent

8 lines
246 B
Bash
Executable File

#!/bin/sh
# torrent peertube videos, requires the transadd script
# first argument is the video link, second is the quality (480 or 1080)
# 13/07/20 - Arthur Bais
link="$(echo "$1" | sed "s/w/download\/torrents/")""-$2.torrent"
transadd "$link"