Uploaded image for project: 'YADE - Yet Another Data Exchange Tool'
  1. YADE - Yet Another Data Exchange Tool
  2. YADE-601

Exclude directories from file transfer

    XMLWordPrintable

Details

    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".

      Attachments

        Activity

          People

            re Robert Ehrlich
            ap Andreas PĆ¼schel
            Pramokshi Narawariya Pramokshi Narawariya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: