Move folder based on content (creation date)

Hi all!
I have a root folder which has twelve subfolders (named 2012-01 to 2012-12). When dropping a new folder into the root folder, I want Hazel to check the new folder's content, find out when that was created and based on that move the containing folder to one of the twelve subfolders.
So for example I drop a folder named Foo into the root folder. The files in Foo where created on 2012-01-01. I then want Hazel to move the Foo folder to 2012-01.
At the moment I have Hazel setup to do the following:
- Monitor the main folder > See if the criteria is met (Kind is Folder) > Sort file into subfolder with pattern...
For the pattern I select other. From the pop-up I select the one I think is appropriate and translates to: creation date content (My OS is in Dutch so it's a rough translation).
When running the rule nothing happens unfortunately. From the log I get the following message:
Am I missing something, or is there maybe a better way to achieve this?
Many thanks in advance for any help!
I have a root folder which has twelve subfolders (named 2012-01 to 2012-12). When dropping a new folder into the root folder, I want Hazel to check the new folder's content, find out when that was created and based on that move the containing folder to one of the twelve subfolders.
So for example I drop a folder named Foo into the root folder. The files in Foo where created on 2012-01-01. I then want Hazel to move the Foo folder to 2012-01.
At the moment I have Hazel setup to do the following:
- Monitor the main folder > See if the criteria is met (Kind is Folder) > Sort file into subfolder with pattern...
For the pattern I select other. From the pop-up I select the one I think is appropriate and translates to: creation date content (My OS is in Dutch so it's a rough translation).
When running the rule nothing happens unfortunately. From the log I get the following message:
- Code: Select all
Caught exception in rule evaluation of file Foo: Could not retrieve metadata for file: /Users/goose/root/Foo
Am I missing something, or is there maybe a better way to achieve this?
Many thanks in advance for any help!
