View source: R/mirror_directory.R
mirror_directory | R Documentation |
Check for any new/updated files on from_dir
and copy them to to_dir
.
Check for any extra files in to_dir
and, optionally, delete them.
mirror_directory(from_dir, to_dir, delete = FALSE, ...)
from_dir |
Path to directory to mirror. |
to_dir |
Path to directory you wish to mirror |
delete |
Delete extra files in |
... |
Arguments to dir_ls. |
to_dir
will mirror from_dir
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.