lucee.Component
commandbox.system.modules_app.system-commands.commands.mv
Rename/move a file or directory to a new name and path . Rename a file {code:bash} mv sample.html sample.htm {code} . Move a file {code:bash} mv sample.html /test/sample.htm {code} . Rename a directory {code:bash} mv foo/ bar/ {code} . Move a directory {code:bash} mv foo/ bar/foo/ {code}
| Method Summary | |
|---|---|
any
|
run(commandbox.system.modules_app.system-commands.commands.Globber path, any newPath)
|
| Methods inherited from class lucee.Component |
|---|
| None |
| Method Detail |
|---|
path - The file or directory source to renamenewPath - The new name of the file or directory