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

Cheers

Ah okay, thanks for your reply