Move files to specific folder

Any questions? Need some help?
Post Reply
CaptSonic
Posts: 2
Joined: 27 Aug 2013, 13:13

Move files to specific folder

Post 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
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Move files to specific folder

Post 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
:idea: Please read the FAQ and How to Request Help.
CaptSonic
Posts: 2
Joined: 27 Aug 2013, 13:13

Re: Move files to specific folder

Post 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.
User avatar
rednoah
The Source
Posts: 23926
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Move files to specific folder

Post by rednoah »

FileBot will only process Movie/Episode files that have equivalents in the various online DBs.
:idea: Please read the FAQ and How to Request Help.
Post Reply