This week, I tried to use the Move File activity to move a folder, its subfolders, and its contents from one file path to another. I very quickly realized that my intentions were not met with this activity, and it got me to thinking that with some small changes, we very well could allow users to achieve this goal much easier than using the following two options:
Option 1
- Zip Files to compress the folder to a zipped folder
- File Found to verify the zipped folder exists in the destination folder.
- Delete Files to delete the original folder and its contents.
- Move File to move the zipped folder from the source to the destination folder.
- Unzip Files to extract the folder and its contents into the destination folder.
- File Found to verify the unzipped folder exists in the destination folder.
- Delete Files to delete the zipped folder and its contents.
Option 2
- List Directory Files
- Save Value to Variable, directory_files
- Do-While Loop with all of its scenarios and conditions
Solution
If the Move File activity were enhanced to allow for moving entire folders and their contents as well, we could manage this process in one activity. It would be a “one and done” type of situation. These kinds of enhancements can really cut down on development time and make ElectroNeek even more appealing to new users.
As always, thank you for listening! Have a wonderful day!
Brandon