Change folder name on output

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Benbodhi
Posts: 4
Joined: 15 Aug 2014, 11:32

Change folder name on output

Post by Benbodhi »

Hi,

I have successfully set up uTorrent to run the automated script amc in FileBot and rename my downloads on a windows machine. I would like to make the folder structure a little different and haven't found any directions and couldn't figure it out...
Basically, by default it outputs completed files to: TV Shows/NameOfShow/Season #/episodename
But I would like it to be: TV Shows/NameOfShow/NameOfShow - Season #/episodename

The only addition being the name of the show with a dash before the "season #".

I changed FileBot prefs but that didn't work and I tried a few things in the line pasted into uTorrent prefs, also no luck.

I'm running the latest Windows, uTorrent and FileBot.
I'm sure it's something pretty easy and trivial, but couldn't figure it out.

Thanks in advance.
Ben
User avatar
rednoah
The Source
Posts: 23940
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Change folder name on output

Post by rednoah »

1.
The CLI and the GUI do not share preferences. The CLI has cmdline options for that.

2.
You'll have to pass in a custom seriesFormat. See Change how files will be organized and renamed section in the manual.
:idea: Please read the FAQ and How to Request Help.
Benbodhi
Posts: 4
Joined: 15 Aug 2014, 11:32

Re: Change folder name on output

Post by Benbodhi »

Thanks,
I had read that, but I just had to change a few things to make it work.
This is what I have uTorrent run upon completion (this is working beautifully):

Code: Select all

filebot.launcher.exe -script fn:amc --output "C:/Users/Benbodhi/Torrent Downloads/!Complete/!Sorted" --log-file amc.log --action copy --conflict override -non-strict --def music=y artwork=n unsorted=y storeReport=y clean=y "seriesFormat={n}/{n} - Season {s.pad(2)}/{n} - {s00e00} - {t}" "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
Post Reply