Page 1 of 1
Help with running AMC script
Posted: 30 Jul 2023, 21:04
by RTomlinson25
I am trying to run the AMC script to watch my downloads folder and then move and rename the file to my media folder. i had it working just fine until i accidentally closed powershell. when i opened it and pasted the script, i keep getting an error message. i'm petty sure it has something to do with my target folders because i had to do this before but for the life of me i can't remember what i did to make it work before. Please help! it's driving me bonkers.


Re: Help with running AMC script
Posted: 31 Jul 2023, 06:52
by rednoah

Please follow the instructions:
viewtopic.php?t=13092

You'll want to download the script
(i.e. Save as...) and then call it with the input folder as first command-line argument followed by amc script options as seen in the PowerShell example:
Shell: Select all
C:\Tools\filebot-watcher.ps1 X:\Input --output X:\Output ...

If you just copy & paste the script file code, then there's no input arguments, no input folder, and the shell will apparently fail to execute with "path is not of legal form" which is overly generic for "cannot watch <empty file path>".
Re: Help with running AMC script
Posted: 31 Jul 2023, 20:46
by RTomlinson25
Thanks for the help, I got it working! Turns out i was attempting to run the wrong script.