View source: R/copy_updated_files.R
copy_updated_files | R Documentation |
Copy files to destination only if the file is missing or out of date at the destination. Mainly a helper for stage_assets()
. Not well-designed for general use.
copy_updated_files(paths, dest_folder, clear = FALSE, verbose = TRUE, WD = "?")
paths |
vector of file paths you want to check and/or copy |
dest_folder |
directory where you want files to be transferred |
clear |
do you want to delete all files in the destination folder before copying? default=FALSE |
verbose |
print summary table? default=T |
WD |
Working directory. Needed to pass on to inSync.. :/ might want to refactor |
tibble of path1 files and statuses (whether they were updated, added, or are up-to-date)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.