Change on script

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
dporem
Posts: 1
Joined: Sun Sep 01, 2019 11:22 pm

Change on script

Post by dporem »

Hi,

I added a script to the on download complete event.

This is the script:

Code: Select all

find /$TR_TORRENT_DIR/$TR_TORRENT_NAME -name "*.rar" -execdir unrar e -o- "{}" \;
Is it possible to add an 'If ($TR_TORRENT_DIR == '/media/') to this instruction? if yes, how?
Also, i couldn't find any documentation on making scripts on transmission, can someone point me on the direction of some?

Thanks!
Post Reply