Page 1 of 1

Sort element into a single subfolder

PostPosted: Mon Aug 15, 2022 1:18 pm
by loscamos
Hello,

I have many existing folders different files inside. All these files have some suffix to their name (25,50,75,100) I would like to find files by this suffix and move them inside a single folder with their suffix as a name.

Here is an example to make it clear:

Folder Name: Test
Files inside folder: filename_white_25, filename_black_25, filename_white_50, filename_black_50 and so on.

I have created this rule:

if
Name -> Contains -> 25
then
Sort into subfolder

Here I have the issue. I want all the filename25 present in the folder to be moved into a new folder named 25. I can only make it move to many folder (one for each file).

Is there a way to do it? Thanks

Re: Sort element into a single subfolder

PostPosted: Tue Aug 16, 2022 9:16 am
by Mr_Noodle
Look up "match patterns" in the manual. Using those, you can set up a custom text attribute to match the part of the name you care about (the number at the end). You can then use that attribute in the Sort into subfolder action.