How to copy subfolder files?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-11-21 10:44 AM
Hi,
I want to copy the entire content i.e folder and files from the folder. For e.g there is folder A and inside folder A there is folder B and some files. I want to copy the folder B and files to new destination path. How can this be done? Utility - Folder Management , copy folder action copies entire folder including folder A. Is there a way we can only copy subfolder and files?
------------------------------
Neha Gote
------------------------------
I want to copy the entire content i.e folder and files from the folder. For e.g there is folder A and inside folder A there is folder B and some files. I want to copy the folder B and files to new destination path. How can this be done? Utility - Folder Management , copy folder action copies entire folder including folder A. Is there a way we can only copy subfolder and files?
------------------------------
Neha Gote
------------------------------
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-11-21 02:33 PM
Hi @NehaGote,
I'm not familiar with a VBO titled Utility - Folder Management. Did you get that from the Digital Exchange? Have you tried the Copy File action of the Utility - File Management VBO and setting the file path to something like C:\Folder A\*?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
I'm not familiar with a VBO titled Utility - Folder Management. Did you get that from the Digital Exchange? Have you tried the Copy File action of the Utility - File Management VBO and setting the file path to something like C:\Folder A\*?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-11-21 03:18 PM
@NehaGote,
I ran a quick test and it looks like using the Copy File action with a wildcard will only copy the files, not the subfolders. To address your need, we've pushed an update to the VBO that includes a new action titled Copy Directory. This will take a source directory name and a destination directory name as input. It will copy the entire contents of the source directory into the destination directory.
You can find the updated VBO here.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
I ran a quick test and it looks like using the Copy File action with a wildcard will only copy the files, not the subfolders. To address your need, we've pushed an update to the VBO that includes a new action titled Copy Directory. This will take a source directory name and a destination directory name as input. It will copy the entire contents of the source directory into the destination directory.
You can find the updated VBO here.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-11-21 03:34 PM
Hi @ewilson
Just found a work around. Can use Utility - File Management , Get folder action where we would give path of folder A as an input. Then in its output Folders collection path column we will get path of all the folders within A folder. Then can loop Folders collection and can use Utility - Folder Management copy folder action. This will copy the all subfolders from A folder to destination folder. Utility - Folder Management utility was downloaded from digital exchange.
I will try updated Utility - File Management VBO as well. Thank you for sharing it appreciated
------------------------------
Neha Gote
------------------------------
Just found a work around. Can use Utility - File Management , Get folder action where we would give path of folder A as an input. Then in its output Folders collection path column we will get path of all the folders within A folder. Then can loop Folders collection and can use Utility - Folder Management copy folder action. This will copy the all subfolders from A folder to destination folder. Utility - Folder Management utility was downloaded from digital exchange.
I will try updated Utility - File Management VBO as well. Thank you for sharing it appreciated
------------------------------
Neha Gote
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-11-21 04:40 PM
Hi @NehaGote
Pls find this VBO To Copy Folder. I have developed it and used internally multiple times. Let me know if it fulfills your need.
Thanks
------------------------------
vinod chinthakindi
------------------------------
Pls find this VBO To Copy Folder. I have developed it and used internally multiple times. Let me know if it fulfills your need.
Thanks
------------------------------
vinod chinthakindi
------------------------------
