Sort element into a single subfolder

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Sort element into a single subfolder 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
loscamos
 
Posts: 1
Joined: Mon Aug 15, 2022 1:10 pm

Re: Sort element into a single subfolder 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.
Mr_Noodle
Site Admin
 
Posts: 11195
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support