R.utils (version 1.2.0)

copyDirectory: Copies a directory

Description

Copies a directory.

Usage

## S3 method for class 'default':
copyDirectory(from, to=".", ..., private=TRUE, recursive=TRUE)

Arguments

from
The pathname of the source directory to be copied.
to
The pathname of the destination directory.
...
Additional arguments passed to file.copy(), e.g. overwrite.
private
If TRUE, files (and directory) starting with a period is also copied, otherwise not.
recursive
If TRUE, the subdirectories are copied too, otherwise not.

Value