Copy the specified folder to another location
- command:
spo folder copy -u|--webUrl <webUrl> -s|--sourceUrl <sourceUrl> -t|--targetUrl <targetUrl> --deleteIfAlreadyExists
- webUrl: The URL of the site where the folder is located
- sourceUrl: site-relative URL of the folder to copy
- targetUrl: server-relative URL where to copy the folder
- deleteIfAlreadyExists: If provided, if a file already exists at the targetUrl, it will be overwritten. If ommitted, the copy operation will be canceled if the file already exists at the targetUrl location.
- requires connection to a SharePoint site
For more information see the Copy-PnPFile cmdlet
Copy the specified folder to another location
spo folder copy -u|--webUrl <webUrl> -s|--sourceUrl <sourceUrl> -t|--targetUrl <targetUrl> --deleteIfAlreadyExistsFor more information see the Copy-PnPFile cmdlet