WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Plugins >> Delete plugin enhancement request
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1349903942

Message started by mkanet on Oct 10th, 2012 at 11:19pm

Title: Delete plugin enhancement request
Post by mkanet on Oct 10th, 2012 at 11:19pm
Hi Gert,

Is there any chance I could convince you to add the ability specify wildcards for directory names to exclude?  

For example: Do not delete any directories or subdirectories with *.tmp name under D:\

I remember I had asked for this feature a while back; but I think there was something preventing you from adding that feature back then.

If I remember correctly, you had suggested for me to do what I need to do in a batch file; and, prevent it from processing any further by adding the below line to prevent further processing.

DIR /s /ad "%WD_DIR%\*.tmp"

That suggestion does work... sort of; but it's very clunky and resource intensive; especially when my batch file is executed many, many times when very large directory full of files are extracted from a .rar or zip archive.  It's not really practical to do it that way.  It would be very nice and clean if this was builtin to WD.

Any chance you could add this? :)
-Michael

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