Need assistance with renaming folder and subfolders

Running FileBot from the console, Groovy / FileBot scripting, shell scripts, etc
Post Reply
hstorey219
Posts: 5
Joined: 26 Jan 2017, 00:22

Need assistance with renaming folder and subfolders

Post by hstorey219 »

Hi There,
So I have a folder on W: that I just want Filebot to search for new TV Shows and just rename them for consistency. I included a script that will let Sonarr know that I added these files too.
I can't find a good example how to to this :(
Here is what I came up with,but it is saying can't copy to same folder

Code: Select all

filebot -script fn:amc --output "W:/" --action copy -non-strict "W:/" --log-file amc.log --def excludeList=amc.txt --def "exec=filebot -script /D:/Commandfiles/Update_Sonarr_Radarr.groovy --def type={type} id={id}"
User avatar
rednoah
The Source
Posts: 19349
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Need assistance with renaming folder and subfolders

Post by rednoah »

:idea: Best to have separate input / output folders.


1.
Move W:/* to W:/INPUT and create an empty folder W:/OUTPUT


2.
Copy the amc script example and modify it for your input / output folder:

Code: Select all

filebot -script fn:amc --output "W:/OUTPUT" --action duplicate -non-strict "W:/INPUT" --log-file amc.log --def excludeList=amc.txt
:idea: Please read the FAQ and How to Request Help.
hstorey219
Posts: 5
Joined: 26 Jan 2017, 00:22

Re: Need assistance with renaming folder and subfolders

Post by hstorey219 »

Thank you :)
Post Reply