Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Feature
- YADE can be configured to transfer files recursively traversing a directory hierarchy in a source system.
- Users would like to exclude certain directories from file transfer:
- A new configuration item is added that specifies ExcludedDirectories.
- A regular expression can be specified that matches the path to directories that should be excluded.
- Example
<Selection> <FileSpecSelection> <FileSpec><![CDATA[.*]]></FileSpec> <Directory><![CDATA[/home/sos/data/input]]></Directory> <ExcludedDirectories><![CDATA[.*archive.*]]></ExcludedDirectories> <Recursive><![CDATA[true]]></Recursive> </FileSpecSelection> </Selection>
-
- The ExcludeDirectories element specifies that any sub-directories inside the /home/sos/data/input directory tree are excluded if one of the sub-directory names includes the string "archive".