filebot / filebot-docker

Docker build files for FileBot
https://hub.docker.com/r/rednoah/filebot/
Apache License 2.0
55 stars 18 forks source link

Allow End User to choose the action type for the watcher #3

Closed donicrosby closed 4 years ago

donicrosby commented 4 years ago

Currently the watcher file only duplicates the file found as an action, I don't want to have multiple copies of the data on my SAN. Allow the end user to decide what action they would like the AMC script to perform.

rednoah commented 4 years ago

The filebot-watcher script allows you to pass in arbitrary filebot options: https://github.com/filebot/filebot-docker/blob/master/filebot-watcher#L15

If you want move, then just add --action move to explicitly specify that.

Having said that, the default --action duplicate will reflink or hardlink by default, and thus most likely no data is ever copied: https://en.wikipedia.org/wiki/Hard_link#Example