Code: Select all
/usr/local/Cellar/transmission/2.94/bin/transmission-remote -n admin:admin -t $REF -r | tr -d "\n");
I test whether this works with:
Code: Select all
if [ "$returnString" == 'localhost:9091/transmission/rpc/ responded: "success"' ]
then ... ;
Apart from checking the return string, can anyone tell me a way to determine whether the torrent has actually been successfully deleted please?