1: Stop Transmission daemon
2: modify settings.json
find script-torrent-done-enabled and modify value true
and write script name:
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/share/1000/tr-daemon/unrar.sh",
3: Create unrar.sh
/share/1000/tr-daemon/unrar.sh
#!/bin/sh
#
DEST_DIR="${TR_TORRENT_DIR}/${TR_TORRENT_NAME}/"
cd $DEST_DIR
/opt/bin/unrar e "$DEST_DIR/*.rar" >> extract.log
transmission-remote -n admin:tr1234 -t$TR_TORRENT_ID --remove-and-delete
#this line remove torrent quene list and delete data files from source directory, if you don't then remove this line.
#modify user name and password, if you are change default values..
#and need to pay attention to this line, if unrar fails, all downloaded data is deleted. All responsibility is yours.
4: Start transmission daemon
works perfect.. download, extract, delete source files.. ready for watch..