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

Description Usage Arguments Value Author(s)

View source: R/lightWeightCopy.R

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/motusServer documentation built on May 19, 2019, 8:19 a.m.