Page 1 of 1

Script to rename then move to a folder structure?

Posted: 13 Jun 2015, 17:22
by Omegapsy
First off I am sorry if this is the wrong place to ask this.

I am trying to setup an automation to rename files in a certin folder then file them away in a specific folder structure. I will explain better below.


I have files located here: E:\New Movies\

So I would use the augments -rename -r "E:/New Movies/" --db TheMovieDB

I want to be able to automate it to move the files into their respective folder in this example: E:\Video\Movies\

I want to do a similer thing with TV shows as well to a folder structure like this: E:\Video\TV\(Series Name)\Season (Season Number)\


Can this be done?



EDIT: I figured out how to do it with Movies, but still working on TV shows. Any input is appreciated.

Re: Script to rename then move to a folder structure?

Posted: 13 Jun 2015, 17:36
by rednoah
I'm pretty sure this is answered in FAQ #1 => viewtopic.php?f=3&t=7

Solution: Use --format.

Re: Script to rename then move to a folder structure?

Posted: 13 Jun 2015, 17:37
by Omegapsy
Thank You. For some reason searching I could not find that.

Re: Script to rename then move to a folder structure?

Posted: 13 Jun 2015, 17:58
by Omegapsy
Alright so I have setup what should be right, but can't seem to get it to actually use the augments right. I am not sure what I am doing wrong.

Code: Select all

filebot -rename -r "C:/Users/Omegapsy/Desktop/New folder" --db TheTVDB --output "C:/Users/Omegapsy/Desktop/TVTEST/{n}/Season {s}"
This is just for my test.

Re: Script to rename then move to a folder structure?

Posted: 13 Jun 2015, 18:16
by rednoah
I wrote:Solution: Use --format
And at the very least, have a look at the examples => http://www.filebot.net/naming.html

e.g.

Code: Select all

--output "/path/to/media" --format "TV Shows/{n}/Season {s}/{sxe} - {t}"

Re: Script to rename then move to a folder structure?

Posted: 13 Jun 2015, 18:25
by Omegapsy
Sorry, had a momentary lapse or logic there. All figured out now, Thanks for your help!!!