dot-file.move: Move a file to a new location - Defunct - use...

.file.moveR Documentation

Move a file to a new location – Defunct – use hardLinkOrCopy

Description

This will first try to file.rename, and if that fails, then it will file.copy then file.remove.

Usage

.file.move(from, to, overwrite = FALSE)

Arguments

from, to

character vectors, containing file names or paths.

overwrite

logical indicating whether to overwrite destination file if it exists.

Value

Logical indicating whether operation succeeded.


PredictiveEcology/reproducible documentation built on April 19, 2024, 7:23 p.m.