Page 1 of 1

Count files

PostPosted: Wed Jul 23, 2014 9:26 am
by vloryan
I'd like to have the number of files from all subfolders and email the results:

PARENT FOLDER X

subfolder 1
///subfolder 1A
subfolder 2
///subfolder 2A
subfolder 3
///subfolder 3A
subfolder 4
///subfolder 4A

The email should look like this:

18 files in subfolder 1A

27 files in subfolder 2A

33 files in subfolder 3A

44 files in subfolder 4A



Any ideas? :) THANKS!

Re: Count files

PostPosted: Wed Jul 23, 2014 3:11 pm
by Mr_Noodle
You can use the "Subitem count" attribute. The issue is whether you want it in separate emails for each folder or one big folder. If the former, have Hazel watch the folder containing those folders and have the rule match those folders. If the latter, you'll need to have Hazel monitor one folder up and use a script to gather the info.