file.swap: Swap names of two files (by renaming first to a temporary...

View source: R/fsutils.r

file.swapR Documentation

Swap names of two files (by renaming first to a temporary file)

Description

Swap names of two files (by renaming first to a temporary file)

Usage

file.swap(f1, f2)

Arguments

f1, f2

Paths to files

Value

logical indicating success

Author(s)

jefferis

See Also

file.rename


jefferis/nat.utils documentation built on July 6, 2023, 4:42 p.m.