transferFiles | R Documentation |
This function will compare the contents of two folders and transfer any files that are not in the second folder but are in the first folder from the first to the second. If the second folder doesn't exist, it will create one. It will also inform you how many files are in the second folder but not the first
transferFiles(from, to, showNotInFrom = FALSE)
from |
path to a folder that you want all files from |
to |
path to a folder which you want files transferred to |
showNotInFrom |
logical: should files not in the from folder but in the to folder be printed |
## Not run:
path <- "C:\\Users\\dhanson\\Documents\\scanTest"
pathos <- "E:\\cg2014scans\\exPt2"
transferFiles(pathos, path, showNotInFrom = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.