lightWeightCopy: Make a light-weight recursive copy of a folder.

Description Usage Arguments Value Author(s)

Description

This uses hard (or symbolic) links wherever possible, so that file data are not copied, but falls back to normal copy where necessary.

Usage

1
lightWeightCopy(src, dst, sym = FALSE)

Arguments

src

character vector; paths to source files / folders

dst

character scalar; path to target folder

sym

logical scalar; if TRUE, use symbolic links instead of hard links. Default: FALSE

Value

TRUE on success, FALSE otherwise.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.