File Monitor Question
In a file monitor job, can you wildcard part of the path? I'm trying to monitor when a file is dropped in:
Infogix_Assure_Common/data/report...
but the files reside in folders in this path, based on control entity name.
ex. Infogix_Assure_Common/data/report/control entity name/report_I_want.rpt
Since I don't care what control entity name and just want all reports, is there a way to just look for anything dropped in:
Infogix_Assure_Common/data/report/*
I can't seem to get a wildcard to work.
Thanks for the help.
-
Ryan and Jodeen:
It is true that the base directory specification for a file monitor source cannot have wildcard characters - it must reference a full starting directory. However, the file monitor source CAN process subdirectories via the include and exclude filters. Taking Jodeen's example of Infogix_Assure_Common/data/report/*, this could be set to search sub folders as follows:
Base directory: Infogix_Assure_Common/data/report
Includes Filter: **/*.txt
Excludes Filter **/notthese/*
The above would search all subfolders of the base directory for .txt files (including the base directory itself), excluding the files in any subfolder called "notthese"
Please sign in to leave a comment.
Comments
2 comments