Page 1 of 1
Check for files deleted from a folder

Posted:
Tue Jul 24, 2012 1:44 am
by frege0
I want to check a folder for any files added or deleted. Added is no problem but I cannot work out a rule for checking if any file has been deleted from a folder. Any help or advice appreciated. Thanks.
Re: Check for files deleted from a folder

Posted:
Tue Jul 24, 2012 2:27 pm
by Mr_Noodle
What do you want to do if the file is deleted?
Re: Check for files deleted from a folder

Posted:
Wed Jul 25, 2012 7:32 am
by frege0
Post a Growl message saying there has been a change in the contenst of the folder
Re: Check for files deleted from a folder

Posted:
Wed Jul 25, 2012 4:01 pm
by Mr_Noodle
You should then monitor the folder above the folder that has files being added and removed. Write a rule to match changes to that folder ("date last modified is after date last matched" should work) and act accordingly.
Re: Check for files deleted from a folder

Posted:
Fri Jul 27, 2012 4:48 am
by frege0
Thanks that worked.