TrUSP33D TrUSP33D
Bookmark

App/Script to auto unrar torrent and place the contents in specific directory

Posted March 26th, 2019    186   0   unrar

Just like the subject says does anyone know of any app that can unrar the torrents contents and then place the unrar'd file in a directory of your choosing.

1 Reply

yda
yda

You can use example deluge torrent client and plugin called execute and create sh script file where you paste this one. If you want it to extract it to certain location you would need to google bit more of unrar commands arguments. This will extract it to same location. Remember to make script executable by command chmod +x script.sh

find /home/user/files/downloads/Movies/ -name '*.rar' -execdir unrar e -o- {} \;