Name | Type | Required | Default | Hint |
path | string | true | The file or directory source to rename | |
newPath | string | true | The new name of the file or directory |
Rename/move a file or directory to a new name and path
Rename a file
mv sample.html sample.htmMove a file
mv sample.html /test/sample.htmRename a directory
mv foo/ bar/Move a directory
mv foo/ bar/foo/