Usage
spo file rename [options]
Description
Renames a file
Options
| Option |
Description |
-u, --webUrl <webUrl> |
The URL of the site where the file is located |
-s, --sourceUrl <sourceUrl> |
Site-relative URL of the file to rename |
-t, --targetFilename <targetFilename> |
New Filename for the file to be renamed |
--force |
If a file already exists at the targetUrl, it will be moved to the recycle bin. If omitted, the move operation will be canceled if the file already exists at the targetUrl location |
Additional Information
This could also be done with "spo file copy" if the
-t, --targetUrl | Server-relative URL where to copy the file
could include a new filename.
Usage
spo file rename [options]Description
Renames a file
Options
-u, --webUrl <webUrl>-s, --sourceUrl <sourceUrl>-t, --targetFilename <targetFilename>--forceAdditional Information
This could also be done with "spo file copy" if the
-t, --targetUrl | Server-relative URL where to copy the file
could include a new filename.