How to Move Folder and underlying Folders and files

Document ID : KB000099223
Last Modified Date : 01/06/2018
Show Technical Document Details
Introduction:
We need your help if possible, to Move Folder and its underlying children (sub Folders and files) recursively 

from : \FolderA

To : \FolderB
 
Environment:
CA Harvest SCM 12.x and up
Instructions:
There are 3 different ways we could accomplish this move: 

1) Perform “Check Out”, “Delete Version” and “Check In” to relocate the files to the “correct” folder. 
This option would work well if the package with the items checked in to the “wrong” folder has not yet been promoted to later states and later versions of the files have not been checked in. 
To do this you would: 
a) If any of the files in the “correct” folder have the same names as the files in the “wrong” folder to be moved, Check Out for Update all the files in the “correct” folder. 
b) Check Out for Browse the files that were checked in to the “wrong” folder to the same location. 
c) Check In all the files that have been checked out to the "correct" folder. 
d) Select the files in the “wrong” folder and perform “Delete Version” 

2) Perform “Check Out”, “Remove Item” and “Check In” to relocate the files to the “correct” folder. 
This option would work well if the package with the items checked in to the “wrong” folder has already been promoted to the later states. 
To do this you would: 
a) If any of the files in the “correct” folder have the same names as the files in the “wrong” folder to be moved, Check Out for Update all the files in the “correct” folder. 
b) Check Out for Browse the files that were checked in to the “wrong” folder to the same location. 
c) Check In all the files that have been checked out to the "correct" folder. 
d) Create a second new package. 
e) Select the files in the “wrong” folder and perform “Remove Item”. 
f) Promote the second package to the later states. 

3) Perform “Move Item” to relocate the files to the “correct” folder. 
This option would work well if the files checked in to the “wrong” folder do not have the same names as any of the files in the “correct” folder, and do not have any un-promoted earlier versions that would cause dependency problems as the package is promoted through to later states. 
To do this you would: 
a) Select all the files that were checked in to the “wrong” folder and execute “Move Item” to move them to the correct folder.