Comparing Size of files?

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Comparing Size of files? 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
Kokkobil3
 
Posts: 2
Joined: Sun Jul 26, 2020 5:31 am

Re: Comparing Size of files? 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.
Mr_Noodle
Site Admin
 
Posts: 8623
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Comparing Size of files? Mon Jul 27, 2020 11:15 am • by Kokkobil3
Hello, thanks for your answer.
I have to study some shell scripting, then.
Raffaele
Kokkobil3
 
Posts: 2
Joined: Sun Jul 26, 2020 5:31 am


Return to Support