Unrar Completed Torrents

Deluge is a full-featured ​BitTorrent client for Linux, OS X, Unix and Windows. It has been designed using the client server model with a daemon process that handles all the bittorrent activity. The Deluge daemon is able to run on headless machines with the user-interfaces being able to connect remotely from any platform.

Moderator: Lillian.W@AST

Post Reply
Jagstyles
youtube meble na wymiar Warszawa

Unrar Completed Torrents

Post by Jagstyles »

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?
Post Reply

Return to “Deluge”