How do I use the filebot-watcher.ps1 script with a custom @file for command-line arguments?
Posted: 15 Dec 2022, 22:04
Thanks a bunch for these great scripts rednoah!
For anyone using the windows script, if you have all your AMC options saved in the @file syntax, you might want to edit line 17 of the filebot-watcher.ps1 script to remove unwanted options. Change Line 17 to...
Since all your options are in the @file, you can then run the script and simply pass the options file...
Thanks again rednoah, works great and is much cleaner than my current approach of blindly running the script every 3 minutes!
For anyone using the windows script, if you have all your AMC options saved in the @file syntax, you might want to edit line 17 of the filebot-watcher.ps1 script to remove unwanted options. Change Line 17 to...
Code: Select all
& filebot @global:options | Write-Host
Code: Select all
C:\Tools\filebot-watcher.ps1 "X:\path\to\monitored_folder" "@A:\path\to\amc-options.txt"