Page 1 of 1

Number management ?

PostPosted: Fri Nov 27, 2020 6:02 pm
by yodasmug
Hi Guys,

Thanks in advance.

Im looking to import a large number of files into a folder and place them into subfolders, based on range of file name numbers - could anyone offer advice ?


Example -
I want to import 100 word documents - which there file names are ending with numbers

eg: word1, word2, word3

how can I tell Hazel to sort them into subfolders based of a number range ?

eg:
1-10 in first subfolder
11-20 in second subfolder
21- 30 etc, etc,

secondly is it possible to set a folder size limit so that hazel can only place unto 2GB of files in a subfolder

thanks :) :D

Re: Number management ?

PostPosted: Sat Nov 28, 2020 12:11 pm
by Mr_Noodle
You can use a custom text attribute to match the number at the end. As long as you only use numeric elements in the pattern, you should, then, be able to use that custom attribute on the left-hand side of a condition. You can then do conditions like "(•file number) is less than 10"

I don't think there's a good way to have Hazel only move a file into a subfolder if it's under a certain size. You'd need to use a script for that part.