scripts/transmission/addLabels.sh

8 lines
144 B
Bash
Executable File

#!/bin/bash
torrentID=${torrentID:-$1}
label1=${label1:-$2}
label2=${label2:-$3}
transmission-remote -t $torrentID --labels [$label1,$label2]