move-file ( from to -- )
Factor handbook > Input and output > Directory manipulation > Deleting, moving, and copying files

Prev:delete-directory ( path -- )
Next:move-file-into ( from to -- )


Vocabulary
io.directories

Inputs and outputs
froma pathname string
toa pathname string


Word description
Moves or renames a file.

Errors
Throws an error if the file does not exist or if the move operation fails.

Definition


Methods