Page 1 of 1

folder size including subfolders

PostPosted: Wed Jul 24, 2019 7:49 am
by dorindon
Hello, I am trying to write a rule which would cause all dropbox parent folders less than 100 MB in size to have the tag purple.
My rule basically causes all my parent folders turn up purple because most of my dropbox parent folders only contain multiple subfolders, which in turn contain many files.
How would I specify that I want a folder to be tagged purple when it is more than 100 MB, including all contents, ie all sub folders and their contents, files, etc
thank you

Re: folder size including subfolders

PostPosted: Wed Jul 24, 2019 10:52 am
by Mr_Noodle
Are you using Hazel's "SIze" attribute or something else? "Size" should include the size of all subfolders/files.

Re: folder size including subfolders

PostPosted: Thu Jul 25, 2019 3:20 am
by dorindon
For example, I have a folder containing 200 GB of files and folders, and Hazel reports the size as less than 100 MB (my size cutoff in my rule).
I want to tag folders containing less than 100 MG as purple color.
thank you

Re: folder size including subfolders

PostPosted: Thu Jul 25, 2019 10:36 am
by Mr_Noodle
What does Finder show for the size? Can you send a screenshot of Hazel's preview, showing what it sees as the size?

Re: folder size including subfolders

PostPosted: Wed Nov 27, 2019 9:44 am
by fruityth1ng
I have a folder that's listed as 269KB, which does not match the rule:

Size > is greater than > 100 KB

Odd thing is, folders next to it *do* get correctly matched.

It does really seem to be the files in the "root" of the matched /non matched folder. The folder not correctly matched has files in it's root that are, indeed, below the 100KB limit, but the images folder in it does have large contents to be matching.

https://www.dropbox.com/s/awv5o7swiabkw ... 5.png?dl=0

Re: folder size including subfolders

PostPosted: Wed Nov 27, 2019 1:19 pm
by Mr_Noodle
Can you do "Get Info". The regular Finder view can be deceptive about certain attributes and it's always best to use the "Get Info" window in these cases.

Also, it's a Google Drive folder. Is it possible the folder is mostly uploaded with only stub files existing on the local drive?