Sorting out a folder (tree) of a folder-structure

Post Reply
Joerg Schober
Member
Posts: 30
Joined: Mon Mar 21, 2011 2:30 pm

Hi,

having this structure:



Folder

file 1

file 2

-folder2

--file2.1

--file2.2

-folder3

--file3.1

--file3.2









I want to sort out folder2 and the 2 files within folder2, i.e. the tree "folder2" and remain the rest of the structure.



is this possible?



Kind regards,

Jörg










dkelly
TOP CONTRIBUTOR
Posts: 628
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

Hello, by "sort out" do you mean that you want to not send them to the next element in your flow? If so, should they be deleted or left in place?
Joerg Schober
Member
Posts: 30
Joined: Mon Mar 21, 2011 2:30 pm

Hi,

they should be deleted.
dkelly
TOP CONTRIBUTOR
Posts: 628
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

You could use a "Submit hierarchy" for input folder, select the connection to next process and set the "Exclude folders" option to "Regular Expression" with the value "^folder2$". That will exclude any folder named "folder2" from being processed.
Joerg Schober
Member
Posts: 30
Joined: Mon Mar 21, 2011 2:30 pm

Works, thanks.
Post Reply