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

All your suggestions, requests and ideas for future development
Post Reply
Rembold04
Posts: 9
Joined: 06 Dec 2019, 21:28

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

Post 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.
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

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

Post 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
:idea: Please read the FAQ and How to Request Help.
Rembold04
Posts: 9
Joined: 06 Dec 2019, 21:28

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

Post by Rembold04 »

Awesome. I will give that a try.
Post Reply