Exclude folder in file delete - VisualCron - Forum

Community forum

hblount
2013-09-27T12:28:40Z
In the file delete task it would be greate if you could exclude a specific sub folder (or set of folders), while having sub folders checked. I know you can exclude a file using the "Use file exclusion", but I need to exclude an entire subfolder and all of ts subfolders.

For example if I have the following directory structure:
\jobs\
\jobs\history\
\jobs\history\1\
\jobs\work\
\jobs\inprocess\
\jobs\inprocess\1\
\jobs\inprocess\2\

and I want to exclude the \jobs\inprocess\ folder, but have it go through the folders jobs, jobs\history (and it's subfolders), and \jobs\work\ .

Splitting the task into multiple tasks won't work, as the folders within the \job\ folder can be created dynamically...

Scroll to Top