Skip to content

Instantly share code, notes, and snippets.

@izifortune
Created January 6, 2018 11:10
Show Gist options
  • Save izifortune/567e89a05b78b77c18d6d5419ee1f68e to your computer and use it in GitHub Desktop.
Save izifortune/567e89a05b78b77c18d6d5419ee1f68e to your computer and use it in GitHub Desktop.
#!/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