Hi @Tevon2.0 ,
Unfortunately, there is no direct way to move a folder from List Alpha to List beta in SharePoint 2019.
The most convenient way is to use Powershell to achieve.
Here are steps and code ( For example, you need to move the folder named "folder1" from list alpha to list beta. ):
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$url = "http://sp19:3571/sites/xyzatest/"
$web = Get-SPWeb $url
$list = $web.Lists["Alpha"]
foreach($folder in $list.Folders)
{
if($folder.Name -eq "folder1")
{
$query = New-Object -Type 'Microsoft.SharePoint.SPQuery'
$query.Folder = $folder.Folder
$folderItems = $list.GetItems($query)
foreach($item in $folderItems)
{
$file = $web.GetFile($item.Url)
$targetPath = "beta/folder1/" + $file.Name
$file.MoveTo($targetPath)
}
}
}
1.Create an empty folder named "folder1" in list beta.
2.Replace the siteurl:
$url = "http://sp19:3571/sites/xyzatest/"
3.Use SharePoint 2019 management Shell to run the code.
The result of the operation is as follows:
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.