cp_dir: Copy the contents of one directory to another using system's...

View source: R/file.R

cp_dirR Documentation

Copy the contents of one directory to another using system's cp.

Description

Note that differs from rsync_dirs

Usage

cp_dir(src, dst, flags = "-uR")

Arguments

src

character the fully qualified source directory

dst

character the fully qualified destination directory

flags

charcater flags for cp, by default "-uR"

Value

the output of the systems cp command (0 = good!)

See Also

Other FILE: file_parts, get_temp_dirname, get_temp_filename, rsync_dirs


btupper/rscripting documentation built on Oct. 18, 2022, 6:47 p.m.