Script .sh fails on Qnap

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
mapomme1108
Posts: 7
Joined: 04 Jun 2015, 09:18

Script .sh fails on Qnap

Post by mapomme1108 »

Hello,

I am using Filebot 4.6 in command line on a Qnap nas.
I want to create an automated task using a .sh file

When I enter this command line :
filebot -script fn:amc -rename "/share/Download/sabnzbd/complete/" --output "/share/Multimedia/" --format "{n} ({y})"
in a ssh terminal, it works.

But when I use this same command line in a executable .sh file, it does not work. Instead it displays all the filebot options.

How can I fix it?
Post Reply