Created
January 6, 2018 11:10
-
-
Save izifortune/567e89a05b78b77c18d6d5419ee1f68e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
torrentid=$1 | |
torrentname=$2 | |
torrentpath=$3 | |
files=($( ls $torrentpath | grep "mp4\|mkv" )) | |
for i in ${files[@]}: | |
do | |
subliminal download -l en $torrentpath/$i | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment