I need to move files which are .jpg format only.
In root folder, there are lot of files (.pdf, .doc, etc.) and I need to organize that folder by moving(Move to activity) images to another folder.
How could I overcome that problem?
Hi
Hope these steps would help you resolve this
Use a assign activity like this
Arr_files = Directory.GetFiles(“yourfolderpath”,”*.jpg”)
Where arr_files is a variable of type array of string
—now use for each activity and pass the above variable as input
—inside the loop use a MOVE FILE activity
And in path property mention as item.ToString
And in destination property mention your folderpath