Page 1 of 1

Comparing Size of files?

PostPosted: Sun Jul 26, 2020 5:45 am
by Kokkobil3
Dear Sirs,
a programmer friend of mine pointed me to Hazel, sayin' that probably it is able to solve my problem, but reading on the website

I need to monitor a folder (the automatic backup folder of my DAW program).
Every time a file is added I need to compare its size to the one before and if its size is smaller of at least 200 KB, i need a notification (there's a horrible bug going on, corrupting the sessions and the backup sessions, but you get to know it only when you close the opened session and reopen it, and the only indication is that the backup sessions -taken every 5 minutes- decrease in size of a certain amount of KB).

Is it possible to do that with Hazel?

thanks

Raffaele

Re: Comparing Size of files?

PostPosted: Mon Jul 27, 2020 11:10 am
by Mr_Noodle
That seems like specialized logic that would require a script. While you can use Hazel to trigger that script, the script logic itself is beyond what Hazel provides out of the box.

Re: Comparing Size of files?

PostPosted: Mon Jul 27, 2020 11:15 am
by Kokkobil3
Hello, thanks for your answer.
I have to study some shell scripting, then.
Raffaele