Page 1 of 1

Create folders based on filenames and move files into them

PostPosted: Fri May 10, 2013 8:40 am
by SrDingo
Hi

Could someone please help me create rules for the following workflow:

I have one big folder with numerous files as follows:

image-1.cr2
image-1.jpg
image-1.png
image-1.txt
image-2.cr2
image-2.jpg
image-2.png
image-2.txt

so for each file name I have one main file (e.g. .CR2) and a variety of other extensions (not always the same ones).

I would like to create a folder based on the main file name and then move whatever other files have this name into that folder (regardless of the extension)

So it would look like:

image1
image-1.cr2
image-1.jpg
image-1.png
image-1.txt
image2
image-2.cr2
image-2.jpg
image-2.png
image-2.txt

Can anyone help me with that?

Many thanks in advance

Re: Create folders based on filenames and move files into th

PostPosted: Fri May 10, 2013 12:02 pm
by Mr_Noodle
Take a look at match patterns in the help.