Moving Files into subfolders

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

Moderator: Mr_Noodle

Moving Files into subfolders Fri Sep 04, 2020 9:51 am • by chrisechols
I'm trying to get hazel to organize my zoom recordings that I download from the cloud. I want to group all files with the same first few charaters into their respective folders.

If I can get the subfolders to take the name of the date and time that would be great.

GMT20200727-194308_Wallace-Jo_1920x1080.mp4
GMT20200727-194308_Wallace-Jo.m4a
GMT20200804-214016_Chris-Echo_640x360.mp4
GMT20200804-214016_Chris-Echo_640x360.mp4
chrisechols
 
Posts: 2
Joined: Fri Sep 04, 2020 9:41 am

Re: Moving Files into subfolders Fri Sep 04, 2020 10:14 am • by Mr_Noodle
Look up "match patterns" in the manual. You can have it grab the parts of the name you want to use into custom attributes and then use those in a Sort into subfolder pattern.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Moving Files into subfolders Sat Sep 05, 2020 9:58 am • by chrisechols
Mr_Noodle wrote:Look up "match patterns" in the manual. You can have it grab the parts of the name you want to use into custom attributes and then use those in a Sort into subfolder pattern.


I've been trying this but can't figure out why I can't match just the parts I want while disregarding the rest.

I'm used to using Grep in BBEdit so I'm sure I'm overthinking how this should work.

For instance, I can only seem to match GMT20200804-214016_Chris-Echo_640x360.mp4 by using {abc}{123}-{123}_{...}

When all I want it to match and create a subfolder for is {123}-{123}


https://www.dropbox.com/s/ayrshgb2kfywz ... M.png?dl=0
chrisechols
 
Posts: 2
Joined: Fri Sep 04, 2020 9:41 am

Re: Moving Files into subfolders Mon Sep 07, 2020 9:12 am • by Mr_Noodle
You need to use custom attributes to re-use the parts you want to save. Please read the chapter in the manual as it has more details on how to do that.
Mr_Noodle
Site Admin
 
Posts: 11240
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support

cron