Page 1 of 1

Request: rednoah/filebot-watcher move filebot-watcher to data directory

Posted: 06 Dec 2019, 21:50
by Rembold04
Can the filebot-watcher script be moved to the /data directory on the filebot-watcher Docker container or another mount?

This would allow users to make changes to the script to call other commands/scripts if needed. It would also allow users to call a highly custom amc script with tons of variables in a better format. It is easier to maintain as a file rather than as a parameter string passed at the container creation. We could also stop the container and restart it after making changes instead of having to delete/recreate the container.

Re: Request: rednoah/filebot-watcher move filebot-watcher to data directory

Posted: 07 Dec 2019, 04:12
by rednoah
You can use the @file syntax for reading command-line arguments from external text files.

e.g. read arguments line by line from /data/args.txt

Code: Select all

docker run --rm -it -v $PWD:/volume1 -v data:/data rednoah/filebot:watcher /volume1/input @/data/args.txt

Re: Request: rednoah/filebot-watcher move filebot-watcher to data directory

Posted: 07 Dec 2019, 04:40
by Rembold04
Awesome. I will give that a try.