WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Bug Reports >> filter when renamed
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1290972139

Message started by uyuni on Nov 28th, 2010 at 8:22pm

Title: filter when renamed
Post by uyuni on Nov 28th, 2010 at 8:22pm
I watch a directory and filter on .pdf-files.
When a file is renamed from .pdf to another extension no event is detected by WatchDirectory.
It would be really useful when for renaming the filter is not only set for the destinationfile but also for the sourcefile.

Or is this already possible and I haven't seen it?

Title: Re: filter when renamed
Post by Gert on Nov 29th, 2010 at 8:06am
Hi,

You are correct, for a RENAME event (FILEREN) the filters work on the new filename.

On the Events page you can tell WD to fire FILEDEL and FILENEW events for renamed files, that could help if you want to filter on both names.

WatchDirectory Forum » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2017. All Rights Reserved.