Create subfolders based on matched portion of filename

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

Moderator: Mr_Noodle

I have a folder that contains a bunch of files:

event_file1
event_file2
event_file3
day_monday
day_tuesday

I want to create a subfolder called "event", remove the "event_" from the filenames, and place the 3 files (file1, file2, and file3) into the newly created "event" folder.

I'd also like to do the same thing with the two day files and any other matching files in the folder.

How would I go about automating such a thing?
jackerton
 
Posts: 2
Joined: Fri Feb 09, 2018 2:53 pm

Look up "match patterns" in the manual. Using those, you can create a custom attribute to match the parts separately and use them in a Rename and Sort into Subfolder action.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support