خرید بک لینک

Hello everyone,

I am trying to write a BASH script and when I execute it I get "command not found".

When I run the following from the terminal window it works like a charm

filebot -script fn:amc "/home/pi/usrmnt/Target/TV" --def "seriesFormat=\\TITANSERVER/Series.Pool/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n}.{s00e00}{'.'+fn.match(/(?iroper)/).toLowerCase().upperInitial()}{'.'+fn.match(/(?i:repack)/).toLowerCase().upperInitial()}{'.'+[vf]}{'.'+[vc]}{'.'+[ac]}{'.'+[af]}{'.'+[source]}{'.'+[group]}.{t}" -r --log-file "/home/pi/log/Filebot.log" --action move --conflict override -non-strict --def backdrops=y --def artwork=y --def clean=y --def ut_label=tv --def excludeList="/home/pi/log/amc-input.txt" > /home/pi/log/filebot.TV.log 2>&1

I can read the log and all is well but when I create a BASH script

Code:

#!/bin/bash
filebot -script fn:amc "/home/pi/usrmnt/Target/TV" --def "seriesFormat=\\TITANSERVER/Series.Pool/{n}/{episode.special ? 'Special' : 'Season '+s.pad(2)}/{n}.{s00e00}{'.'+fn.match(/(?i:proper)/).toLowerCase().upperInitial()}{'.'+fn.match(/(?i:repack)/).toLowerCase().upperInitial()}{'.'+[vf]}{'.'+[vc]}{'.'+[ac]}{'.'+[af]}{'.'+[source]}{'.'+[group]}.{t}" -r --log-file "/home/pi/log/Filebot.log" --action move --conflict override -non-strict --def backdrops=y --def artwork=y --def clean=y --def ut_label=tv --def excludeList="/home/pi/log/amc-input.txt" > /home/pi/log/filebot.TV.log 2>&1
and try to execute it I get a command not found. I am using ubuntu-mate on a raspberry pi.

Any idea what I am doing wrong?

- - , .

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 3 اسفند 1394 ساعت: 5:04

صفحه بندی