copy_file: Copies files and recursively copies directories.

Description Usage Arguments Value Examples

View source: R/create_data_project.R

Description

Recursively copies a file, printing out messages saying which sub-directories were created.

Usage

1
copy_file(path, new_path, all = TRUE)

Arguments

path

Path of the file to copy.

new_path

Path to copy file to.

all

Boolean. If TRUE, will copy hidden files as well.

Value

Prints out messages saying which sub-directories it created.

Examples

1
## Not run: copy_file(path = "old/dir", new_path = "new/dir")

stanford-datalab/dcl documentation built on March 24, 2021, 8:44 a.m.