Page 1 of 1

Ignore folders in PowerSwitch

Posted: Fri Sep 10, 2010 11:24 am
by Stephen_Smith
Hi,



Does PowerSwitch have the capability of ignoring folders? My flow is picking up both files and folders.



Thanks,

Stephen

Ignore folders in PowerSwitch

Posted: Fri Sep 10, 2010 11:26 am
by matb
Hi Stephen,



This can be achieved using the restyled Submit Hierarchy tool in Switch 09, using the following settings:



- Subfolder levels: 1

- Process these folders: All folders

- Adjusted by (rule 1): Excluding folders named

* Folder name: Regular expression (being .* (dot-star) which matches all folder names)

* On levels: 1

* Restriction: None

* Nesting: Exclude nested subfolders as well



This will process everything, except for all folders and their subfolders - which is the same as processing only the files.



Using the Submit Hierarchy tool will ignore all folders completely, they won't be renamed/changed/moved at all.



Hope this helps!