Page 1 of 1

Move files to specific folder

Posted: 27 Aug 2013, 14:05
by CaptSonic
Hi,

I need help with a quite simple CLI-script.

Filename: Series.S01E01.title.mkv

This file had to move to a other folder and create a subfolder named "Series". If the folder exist, move the file. If not, then create the folder an then move the file.
The foldername consists of the first characters of the filename to the first "."

Can anybody help me with that script?

Sorry for my bad english, but understand is easier than writing.

Thanks,
CaptSonic

Re: Move files to specific folder

Posted: 31 Aug 2013, 07:37
by rednoah
Like this?

Code: Select all

D:\workspace\testdata\AMC-TEST>filebot -rename "Firefly 1x01.avi" --output "D:/Series"
Filename pattern: [1.00] SxE, [0.00] CWS
Rename episodes using [TheTVDB]
Auto-detected query: [Firefly]
Fetching episode data for [Firefly]
[MOVE] Rename [D:\workspace\testdata\AMC-TEST\Firefly 1x01.avi] to [D:\Series\Firefly - 1x01 - The Train Job.avi]
Processed 1 files

Re: Move files to specific folder

Posted: 02 Sep 2013, 08:04
by CaptSonic
Thanks for your answer.

I want to move several files to differen folders like:

D:\Testdata\Firefly.SxxExx.mkv -> E:\Firefly\Firefly.SxxExx.mkv
D:\Testdata\Holidays2012.Summer.mkv -> E:\Holidays2012\Holidays2012.Summer.mkv

But without TheTVDB, because these files aren't listet there.

Thanks for your help.

Re: Move files to specific folder

Posted: 02 Sep 2013, 11:14
by rednoah
FileBot will only process Movie/Episode files that have equivalents in the various online DBs.