Identifying notes removed from watch folder?


(Tom Diaz) #1

I am really liking the watch folder feature, however I am noticing that when I remove a file from the folder being watched, it is not removed from the list.

Is there an attribute or way I can identify files that are no longer in the folder being watched? I do not mind manually deleting the files that are currently no longer there but once were there, but I would like to identify them first if possible.

Thanks in advance
Tom


(eastgate) #2

It’s an interesting question!

I think that you’ll find that, if a file is deleted in the watched folder, the $LastFetched attribute of its corresponding note will remain set at the last time it was seen. So, an agent could look for notes that haven’t been fetched for a week and mark those for possible archiving.