Move files and directories with fs; includes a handler for when
path
is a directory on a different filesystem than new_path
by explicitly copying and deleting path
.FileMove(path, new_path, overwrite = FALSE, n = 1L)
The new path (invisibly).
A character vector of one or more paths.
New file path. If new_path
is existing directory, the file
will be moved into that directory; otherwise it will be moved/renamed to
the full path.
Should either be the same length as path
, or a single directory.
The number of callers to go back.