Page 1 of 1

Split file name and generate a subfolder

PostPosted: Tue Oct 25, 2016 7:59 pm
by slkzi
Hi all :P

I'm using since a long period BRU for simple rename actions and today I'm facing an interesing challenge :x

I have several folders that contain AVI and MP4 video files that are named always the same way :
Genre\Artist1 - Title.avi
Genre\Artist2 - Title.mp4

I would like BRU to split the file name and generate a subfolder named with the first part of the orginal file name :
Genre\Artist1\Title.avi
Genre\Artist2\Title.mp4

Does anybody already faced that ?

Many thanks for any help.

Re: Split file name and generate a subfolder

PostPosted: Tue Oct 25, 2016 11:15 pm
by Admin
Hi, what other files are in Genre\ ?

Re: Split file name and generate a subfolder

PostPosted: Wed Oct 26, 2016 9:27 am
by slkzi
Hi, only AVI, MP4 and sometimes ISO.
The full tree struture is actually :
Genre1\Artist1 - title.avi
Genre1\Artist2 - title.mp4
Genre2\Artist1 - title.avi
Genre2\Artist2 - title.iso

The result should be :
Genre1\Artist1\title.avi
Genre1\Artist2\title.mp4
Genre2\Artist1\title.avi
Genre2\Artist2\title.iso

Thanks,