Segregation File based on File Type

I want to collect specific folder to specific destination folder (ex : if file type is pdf it will move to pdf folder, if file type is jpg it will move to jpg folder). But still cannot doing that process. Please need advise for this process.
Thanks :slight_smile:

I would use the following approach:
1/ get file type/extension; using method io.path.GetExtension e.g. ext = io.path.GetExtension(item)
2/ perform move in Switch activity


Ah okay, thanks for your reply

I am trying to do something similar but cannot figure it out can you post an example please

What exactly is not clear on this?