Rename a Folder
Rename an existing folder.
When adding a 'Rename a folder' command, you have the option to select either the Local File System or SharePoint Online as the file storage location.

-
Select Local File System as your file storage location.
-
Enter the full path of the folder you want to rename.
-
Enter the new name for the folder.
-
If you enter only the folder name (with no path), the folder will be renamed and remain in its current location.
-
If you enter a new path along with the folder name, the folder will be renamed AND moved to the new location you entered.
-
If a folder of the same name already exists in the new location, the folder will NOT be renamed or moved.
-
-
-
Expand the Error handling option to provide instructions to the wizard on how to manage encountered errors. For more information on error handling, see Error handling.

You can rename a folder stored in your SharePoint Online.
See here for details, SharePoint Online.