How can i copy jpg file from multiple nested folder to one folder from given url

my question is
How can i copy all jpg file from multiple nested folder to one folder from given URL

1 Like

@pankajs3

Try this:

Directory.GetFiles(“folderpath”,"*.jpg",SearchOption.AllDirectories)

This will read all jpg files from parent and it’s sub folder and will give output as array of jpg files. Then use For Each loop Activity to iterate that files and use Move File to move to specific folder.