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, ...)Path to directory to mirror.
Path to directory you wish to mirror from_dir.
Delete extra files in to_dir. USE WITH CAUTION.
Arguments to dir_ls.
to_dir will mirror from_dir