Page 1 of 1
Checking one file against another

Posted:
Tue Oct 08, 2013 1:56 am
by pciccone
Hi.
Is there are a way in Hazel to compare if a file/folder is newer than another one?
Thanks in advance.
Re: Checking one file against another

Posted:
Tue Oct 08, 2013 1:06 pm
by Mr_Noodle
Can you describe what you ultimately want to do? In general, you would probably need a script for this but there may be specific cases where you can do it some other way.
Re: Checking one file against another

Posted:
Tue Oct 08, 2013 2:11 pm
by pciccone
Hi.
Thank you for your reply.
I need to trigger the execution of a script whenever a given file has been updated. I keep a copy of the file somewhere else and I want to execute a script if there is a newer version of that file.
Hope this helps.
Re: Checking one file against another

Posted:
Wed Oct 09, 2013 12:23 pm
by Mr_Noodle
So you want one file to be processed when a totally different file is updated? In that case, you'll probably need to do a script.
Re: Checking one file against another

Posted:
Wed Oct 09, 2013 1:36 pm
by pciccone
It's not a totally different file, it's a copy of the same file.
Re: Checking one file against another

Posted:
Fri Oct 11, 2013 3:39 pm
by Mr_Noodle
I don't think there's a way to have Hazel correlate the files without using a script unfortunately so I suggest going that route.
Re: Checking one file against another

Posted:
Fri Oct 11, 2013 4:03 pm
by pciccone
OK, thanks.