dir_copy: Copy folders with links

dir.copyR Documentation

Copy folders with links

Description

Copies folders like file.copy except it replicates links correctly on unix-like systems. Based on http://stackoverflow.com/a/30107868/1380598.

Usage

dir.copy(from, to)

Arguments

from

character indicating the path to the directory to be copied.

to

character indicating the path to which the directory will be copied.

Value

Logical indicating success or failure.

Author(s)

Zach Foster

Alex Chubaty


achubaty/amc documentation built on June 10, 2025, 1:10 p.m.