January 22, 201115 yr ok i found this script somewhere on the net or even might be from here what i'm trying to do is after transmission is done i want it to automatically unrar the file the location if this script won't work can someone please fix so it will work. i know absolutley nothing about coding etc.. Thank you # posttorrent.sh by Killemov cd $TR_TORRENT_DIR if [ -d "$TR_TORRENT_NAME" ] then if ls "$TR_TORRENT_NAME"/*.rar > /dev/null 2>&1 then find "$TR_TORRENT_NAME" -iname "*.rar" | while read file do unrar x -inul "$file" /mnt/user/torrents/download done echo "Unrarred" $TR_TORRENT_NAME >> /var/log/posttorrent.log fi fi
Archived
This topic is now archived and is closed to further replies.