transferFiles: Transfer files from one folder to another

View source: R/manageScans.R

transferFilesR Documentation

Transfer files from one folder to another

Description

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

Usage

transferFiles(from, to, showNotInFrom = FALSE)

Arguments

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

Examples

## Not run: 
path <- "C:\\Users\\dhanson\\Documents\\scanTest"
pathos <- "E:\\cg2014scans\\exPt2"
transferFiles(pathos, path, showNotInFrom = TRUE)
## End(Not run)


stuartWagenius/echinaceaLab documentation built on April 13, 2025, 5:22 a.m.