Help with cronjob for creating directories for my movies

Any questions? Need some help?
Post Reply
User avatar
deadman36g
Posts: 9
Joined: 28 Jan 2014, 02:56

Help with cronjob for creating directories for my movies

Post by deadman36g »

I was able to finally get the command I needed for creating directoties and then movie the original file into the said directory

Code: Select all

filebot -rename -r <Movies> --db=TheMovieDB --format "{n} ({y})/{fn}"
But now I am wanting to create a cronjob to establish a sort of watch folder for this command, the call I am using is

Code: Select all

/usr/bin/filebot -rename -r <Movies> --db=TheMovieDB --format "{n} ({y})/{fn}"
But it is causing the following results

Z:\Movies\Example (2015)\Example (2015)\Example (2015)\Example (2015)\Example (2015)\Example.mkv

is there a way for me to alter the command the leave already created folders alone?
User avatar
rednoah
The Source
Posts: 23939
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Help with cronjob for creating directories for my movies

Post by rednoah »

1.
NO

Code: Select all

--db=TheMovieDB
YES

Code: Select all

--db TheMovieDB
2.
If non-recursive is what you want. Why do you specify the -r recursive flag then?

Code: Select all

-r                                     : Resolve folders recursively
:idea: Please read the FAQ and How to Request Help.
Post Reply