Sort into folder based on part of the file name

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

Moderator: Mr_Noodle

I have almost found the solution elsewhere on the forum but my task is slightly different. What I'm attempting to do in this instance is sort individually downloaded font files into a folder with the overall name of the font and then into sub-folders based on type. For example:

Downloaded filename is Roboto-italic.woff
Create/sort into a folder named Roboto
Create/sort into a sub-folder named woff

It's the initial folder name that's foxing me; the sub folders are simple as I just base it on extension. I attempted to use the custom attribute but couldn't wrap my head around it.
David Asch
 
Posts: 4
Joined: Mon Nov 04, 2019 6:03 am

Can you post what you have so far?
Mr_Noodle
Site Admin
 
Posts: 11251
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support