Support for Ubuntu and other Desktop Linux distributions
aaseef021
Posts: 53 Joined: 08 Nov 2017, 04:08
Post
by aaseef021 » 30 Nov 2019, 00:58
Hi when I run the following using Crontab
/path/pathto .sh script which consist of the following
Code: Select all
filebot -script fn:amc --output "/data/Videos" --action copy --conflict override -non-strict --log-file amc.log --def clean=y artwork=y excludeList=amc.txt "/data/Torrents/Completed"
It does nothing.
if I run this manually it works fine. I know my cron is setup correctly as the extraction work if I do
Code: Select all
filebot -exraxt -r --input --ouput
rednoah
The Source
Posts: 23928 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 30 Nov 2019, 06:36
Please read
Shell Script Debugging for Beginners .
I recommend using
filebot -extract for batch extracting archives:
Code: Select all
filebot -extract -r /path/to/input --output /path/to/output
filebot -exraxt -r --input --ouput is wrong for multiple reasons, and if you run it, you well get immediate failures, because almost every single argument is either mistyped or doesn't exist:
Code: Select all
$ filebot -exraxt -r --input --ouput
"-exraxt" is not a valid option
$ filebot -extract -r --input --ouput
"--input" is not a valid option
$ filebot -extract -r /path/to/input --ouput
"--ouput" is not a valid option
$ filebot -extract -r /input --output
Option "--output" takes an operand
$ filebot -extract -r /path/to/input --output /path/to/output
...