Input path Variable?
Posted: 11 Jul 2015, 14:54
Looking for a little guidance,
I am trying to pass the input variable to a bash script,
Im looking to pass the /mnt/pool/incoming/completed/anime to the bash script:
Any assistance in pointing me in the right direction would be great, I've looked thru some of the other rednoah scripts/ and forum and haven't found a solution that works for me.
Thanks
I am trying to pass the input variable to a bash script,
Code: Select all
filebot -script /root/housekeeping.groovy -extract -non-strict -r --conflict=override -rename /mnt/pool/incoming/completed/anime --output /mnt/pool/
Code: Select all
def sout = new StringBuffer(), serr = new StringBuffer()
def proc = '/scripts/filebotclean.sh <PATHVARIABLEHERE>'.execute()
proc.consumeProcessOutput(sout, serr)
proc.waitForOrKill(5000)
println "out> $sout err> $serr"
Thanks