move_file
Moves a specified file to a new directory.
Arguments
Name | Type | Description | Required |
---|---|---|---|
path_to_file | string | The file path before moving it. | |
to_directory | string | The directory to move the file to. |
Returns
Type | Description |
---|---|
string | The new path of the moved file. |
Example
Last updated