Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: How to Move files from multiple sub-folders
Topic Summary: Moving files from sub-folder to parent folder.
Created On: 04/05/2018 08:36 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by JosephBrown, on Thursday, April 12, 2018 2:05 PM

Answer:
Thank you, That was just what I was looking for.
 04/05/2018 08:36 AM
User is offline View Users Profile Print this message

Author Icon
JosephBrown
n00b (>6 posts)

Posts: 5
Joined: 05/04/2005

I have folder with several sub-folders with different names. Some of these folders have a folder named "Additional Attachments". I want to move the files from these folder to the parent sub-folder and delete the "Additional Attachments" folder. Also some of the sub-folders will have a sub-folder.

Can Automate do this?

 Category Survey
 04/09/2018 11:11 PM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Joseph,

Plase review the sample below. A dataset is created with all folders that have "Additional Attachments" in the folder name. Then we loop through the dataset and move all files in each one of the folders to the root folder. Then another loop occurs where these folders are then deleted. I am running 2 loops because I will not know the order of the folder list and I do not want to delete a parent folder that may contain a subfolder with "Additional Attachments" in the name before moving the files.

 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 04/12/2018 02:05 PM
User is offline View Users Profile Print this message

Author Icon
JosephBrown
n00b (>6 posts)

Posts: 5
Joined: 05/04/2005

Answer Answer
Thank you, That was just what I was looking for.

 Category Survey
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1008 guests browsing this forum, which makes a total of 1008 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog