Exercise 4: Ungrouping and regrouping a folder with multiple files

Instruction

Create a new flow that supports file folders with multiple input files in subfolders. Sort the input files by file type; PDFs should be sent to one folder (PDF); all other files should be sent to another folder (Other Files). Then collect all files again in one folder and make sure the original folder gets restored. Use a sample job to check how the job folders are ungrouped.

Note: Ungrouping and reassembling folders helps you to save time, because you don't need to extract the files manually. This is useful if a folder hierarchy contains different file types that each require specific processing. For example, if you want to convert all images in an InDesign package to CMYK, you can sort out the images, process them using Photoshop (with the Photoshop configurator), and finally restore the original package, without any manual intervention.

Test files

Download the test files: http://www.enfocus.com/manuals/Extra/Switch/Switchtutorial.zip

Solution

  • Review the step-by-step solution.
  • Check the result in your own copy of Switch. To do so, import Tutorial 2 Flow.sflow (included in the zip package, under Tutorial Flows) by selecting Flows > Import Flows .
  • Have a look at the video explaining how to build this flow http://youtu.be/0Mxqci8oCuM.