Help with Transmission docker unrar (unpack) script please?


Recommended Posts

Hi,

 

I am trying to run a script that works on my transmission install on a VPS but I cannot get it to work on my unRAID transmission docker,

 

Here is the script and it is marked as executable

 

#!/bin/bash

find /mnt/user/generaldata/unraidapps/transmission/downloads/ -name '*.rar' -execdir unrar e -o- {} \;

 

but the error I get when I try to run it is

 

root@UNRAIDSERVER:/mnt/user/generaldata/unraidapps/transmission/config# sh unrar.sh

find: The current directory is included in the PATH environment variable, which is insecure in combination with the -execdir action of find.  Please remove the current directory from your $PATH (that is, remove "." or leading or trailing colons)

 

I would really appreciate any kind of help!

 

Many Thanks in advance!

 

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.