WatchDirectory Forum
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> How to... >> Delete Files including subdirectories
http://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1380733802

Message started by mpg61 on Oct 2nd, 2013 at 7:10pm

Title: Delete Files including subdirectories
Post by mpg61 on Oct 2nd, 2013 at 7:10pm
The task deletes files and empty sub-sub directories using "file aging". The top level sub directory, now emptied, is not being deleted. The removal of empty directories tab is enabled.  Thanks.

Title: Re: Delete Files including subdirectories
Post by Gert on Oct 4th, 2013 at 3:01pm
The task won't remove the "directory to monitor" itself.

If you use File Age, make sure you do NOT set the option "remember triggered files". I think you have it selected and then the task will only try to remove a directory ONCE (and fail because it still has files or other subdirs).

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