rename

rename

Renames a file.

Tip: Date variables can be concatenated into file names.  See FileOps example.

Attributes:

file: the path and filename
to: the new path and filename
replace: True to overwrite existing file, False to prevent overwriting (default is true)

Examples:

 <rename file="test.txt" to="test2.txt" replace="true" />