Sort files into folders based on spotlight comments

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

Moderator: Mr_Noodle

Hi,

I have been using this workflow for some time, but I would like to get some help to improve it.

How it works.

1. I collect all the files in Download folder, where I put Spotlight comments to them (I select files and the using Alfred 2 to add spotlight comments to them, there is nice workflow for that).
2. Rule in Download folder is looking for files that have any Spotlight comments (I don't have other user for Spotlight comments in this folder) and send them to Projects folder
3. In Projects folder files are moved to folders based on their Spotlight comments.
4. For each folder I have the same pack of rules to sort the into Year folder and file_type folders


What I would like to achieve, is to eliminate creating rules for every new Project folder. Can you figure out a way to do it?

I could automate creating rules for new folder in Projects, but that would cluter the Hazel with lot of folders, so I am looking for more elegant solution. Thanks.

PS: If you are interested, I can post the each rules of my whole workflow.
FiXeR
 
Posts: 2
Joined: Fri Jan 15, 2010 6:58 am

Check out the sticky article about subfolders. You want to have Hazel go into the subfolders but you want to limit the rules to only working at subfolder level 1 (one level below). Basically, you'd have something like:

- The subfolder rule as outlined in the article. You probably want to add a condition like "Subfolder level is 0" so that it only goes one level deep (i.e. into each project folder but no deeper).
- Your set of rules to operate on files in each project folder. Here, you need to add a condition like "Subfolder level is 1" so that it only applies to files/folders in the project folder.
Mr_Noodle
Site Admin
 
Posts: 11865
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thanks, that was easy :)
FiXeR
 
Posts: 2
Joined: Fri Jan 15, 2010 6:58 am


Return to Support