renameFile

rename an existing file

Syntax

renameFile(filepath_src, filepath_dst)

Returns

returns (bool) true on success

Parameters

filepath_src (string)
path to existing file
filepath_dest (string)
path to non-existing file