It is currently Wed Sep 18, 2019 1:48 pm
All times are UTC + 8 hours

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.

Unrar Completed Torrents

Postby Jagstyles » Wed Sep 11, 2019 11:26 pm

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?
Jagstyles
 
Posts: 91
Joined: Wed Oct 21, 2015 10:20 am

Return to Deluge

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest