I have tried virtually every add-in or plugin but nothing seems to unrar completed torrents in place. What I mean is, I want the completed torrent to extract the RAR files in the same directory as its currently located when the torrent is completed. I even created a script with a .SH extension with the following:
#!/bin/bash
torrentid=$1
torrentname=$2
torrentpath=$3
find /$torrentpath/$torrentname -name ".rar" -execdir unrar e -o- "{}" ;
find /$torrentpath/$torrentname -name ".zip" -execdir unzip e -o- "{}" ;
In Deluge, I have it to execute the script by including the following in the "Execute" field: /home/username/Scripts/extract.sh but it doesn't seem to do anything. Anyone have any success on setting this up?