WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
filter when renamed (Read 1672 times)
uyuni
YaBB Newbies
*
Offline



Posts: 6
filter when renamed
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?
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2225
The Netherlands
Re: filter when renamed
Reply #1 - 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.
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1